jaikob Posted September 18, 2008 Share Posted September 18, 2008 At work I am behind a sonicwall firewall, and need php to send email from the windows smtp on my network. My web server and smtp server are both different machines. What config params should I add/Edit in the php.ini file? Btw, the smtp server is password protected. Link to comment https://forums.phpfreaks.com/topic/124863-smtp-settings/ Share on other sites More sharing options...
JonnoTheDev Posted September 19, 2008 Share Posted September 19, 2008 You can set an SMTP address in the php.ini but if the server requires authentication then it cannot be done. You will need to use the PEAR::Mail libraries or something like SwiftMailer to do this. Link to comment https://forums.phpfreaks.com/topic/124863-smtp-settings/#findComment-645426 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.