CodeIgniter Forums
SMTP to Hotmail/Live - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: SMTP to Hotmail/Live (/thread-45773.html)



SMTP to Hotmail/Live - El Forum - 10-05-2011

[eluser]Unknown[/eluser]
I can send email using STMP from GMAIL (as described in the forums), however when sending email via HOTMAIL/LIVE, I am getting 530 5.7.0 Must issue a STARTTLS command first. Here is my code. Any help would be greatly appreciated!


Code:
$config['protocol']     =  'smtp';
$config['smtp_host']    =  'smtp.live.com';
$config['smtp_user']    =  '[username]@hotmail.com';
$config['smtp_pass']    =  '**************';
$config['smtp_port']    =  587;
$config['crlf']         =  "\r\n";
$config['newline']      =  "\r\n";
$config['smtp_timeout'] =  30;

Additionally i tried ssl://smtp.live.com, like GMAIL but that didnt work either, anyone else had any success?

Thanks

Rob