Sending Mail |
[eluser]Michael Nielsen[/eluser]
I'm using the CI email library and can't get a single email sent. This is my controller: Code: <? I'm using Google Apps to host my email so I'm assuming I can use it to send emails from my company domain instead of a @gmail.com. I'm also generating a whopping 14 errors when I execute the controller. Code: A PHP Error was encountered Theres about 3 million fgets and fwrites errors. Code: A PHP Error was encountered Code: A PHP Error was encountered Code: A PHP Error was encountered thanks in advance.
[eluser]imn.codeartist[/eluser]
enable extension=php_openssl.dll in your php.ini and restart apache this should allow you to send email
[eluser]Michael Nielsen[/eluser]
no. still giving the same error. I even tired using an @gmail.com address.
[eluser]imn.codeartist[/eluser]
I used the same code and tested in my local as it was giving same error before but once i enabled the ssl extension that i posted earlier then it just worked.
[eluser]Michael Nielsen[/eluser]
does this error make any sense to you? Code: A PHP Error was encountered
[eluser]imn.codeartist[/eluser]
did you modify the core files of Codeigniter ??
[eluser]imn.codeartist[/eluser]
This is the class and I renamed it with Emailer as there is already Email class in the CI library and that may produce conflict... Try this one Code: <?
[eluser]Michael Nielsen[/eluser]
nup i still get the same error. is something wrong with my php config??
[eluser]imn.codeartist[/eluser]
Then must be something wrong with your php configuration or try reinstalling codeigniter
[eluser]Unknown[/eluser]
Hi, Don't know how helpful this will be but the fsockopen error may be an indication that you are running this on windows. fsockopen is broken in windows. Not sure how to fix it but maybe it's a direction worth exploring. jephroni |
Welcome Guest, Not a member yet? Register Sign In |