Email Sending Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Email Sending Problem (/showthread.php?tid=61053) |
Email Sending Problem - El Forum - 09-07-2014 [eluser]rainfall[/eluser] I want to send mail with gmail id from CodeIgniter with gmail smtp. But some error occurred . I just created a controller for testing purpose. When i click a link its send mail based on my configuration . Here is the mail code.. . Code: function __construct() { I edited php.ini with Code: SMTP = smtp.googlemail.com Code: 220 mx.google.com ESMTP v11sm6817390pas.24 - gsmtp How can I solve this error ?? Email Sending Problem - El Forum - 09-07-2014 [eluser]ivantcholakov[/eluser] Just a guess, maybe authentication fails because there are two domains within your settings: googlemail.com and gmail.com. Email Sending Problem - El Forum - 09-07-2014 [eluser]rainfall[/eluser] i change php.ini into .... gmail.com and smtp_host in configuration to gmail.com ... still error .. Email Sending Problem - El Forum - 09-07-2014 [eluser]InsiteFX[/eluser] Most email servers will reject the email if the From and To are the same email address use a different one. But from the Error it is not seeing your username or password one of them maybe wrong. Email Sending Problem - El Forum - 09-07-2014 [eluser]rainfall[/eluser] It working .. it was typo in my address ... Now one question can i use other addresses ??? like yahoo/hotmail Then what to do for that ?? |