SMTP MAIL IS 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: SMTP MAIL IS NOT WORKING (/showthread.php?tid=43869) |
SMTP MAIL IS NOT WORKING - El Forum - 07-26-2011 [eluser]Volkscom[/eluser] Hi, I used smtp to send mail ,but it is not working. I set the email.php in config folder is $config['protocol'] = 'smtp'; $config['smtp_host'] = 'ssl://smtp.googlemail.com'; $config['smtp_user'] = "[email protected]"; $config['smtp_pass'] ='passs'; $config['smtp_port'] = '465'; $config['newline'] = '\r\n'; $config['mailtype'] ='html'; But it is not working.It shows the busy cursor only What should I do? Please help me. it is very urgent!... Thanks in advance!.... SMTP MAIL IS NOT WORKING - El Forum - 07-26-2011 [eluser]cpass78[/eluser] Try this: Create a new file in your config folder called email.php and paste this in it. It's an override for the email class config variables. Code: $config['useragent'] = 'CodeIgniter'; //The "user agent". this works for me |