sending email not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: sending email not working (/showthread.php?tid=35900) |
sending email not working - El Forum - 11-15-2010 [eluser]sudinem[/eluser] I've use these codes to send email. But, when I run the code, it returns me the message "Something went wrong..." But, when I change $config['protocol']='mail'. ...Then I get the message "your message has been sent". But, when I check my inbox, I didn't get any mails. I've googled my problem but couldn't get any solution. Do you guyz have any solution??? Code: function testMailer() sending email not working - El Forum - 11-15-2010 [eluser]InsiteFX[/eluser] You need to load the library before you set any email parameters! Code: $this->load->library('email'); InsiteFX sending email not working - El Forum - 11-15-2010 [eluser]sudinem[/eluser] [quote author="InsiteFX" date="1289846558"]You need to load the library before you set any email parameters! Code: $this->load->library('email'); InsiteFX[/quote] No effect even after doing this sending email not working - El Forum - 11-15-2010 [eluser]InsiteFX[/eluser] Read this: CodeIgniter Email Library Look at Setting Email Preferences. InsiteFX sending email not working - El Forum - 07-14-2011 [eluser]ardi[/eluser] I have same problem like summer student, when i tried to send email, debugger said email has been successfully and without error, but when i checked in my inbox, it's nothing ... for information i use codeigniter 2.0, any someone can fix it ??? thanks for your help before (i'm sorry for my bad english ) sending email not working - El Forum - 07-14-2011 [eluser]InsiteFX[/eluser] Check your php.ini settings InsiteFX sending email not working - El Forum - 07-14-2011 [eluser]cideveloper[/eluser] If you have a gmail account try these settings Code: $config['protocol']="smtp"; That way you can check with a server you know that can send mail. Sometimes sendmail might not be configured properly, and this will rule out any problem with CI sending email not working - El Forum - 07-15-2011 [eluser]ardi[/eluser] awesome, my problem solved quickly ... thanks a ton for all responses, and special thanks for cideveloper terima kasih banyak (say thanks in indonesian) :coolsmile: |