Bored? Looking to kill some time? Want to chat with other SMF users? Join us in IRC chat or Discord
Started by Gavin Chatt, May 31, 2022, 10:08:22 PM
Quote from: Chief of Nothing on June 01, 2022, 09:26:42 AMOk, so checking 2.0.19's source the smtp_mail code isn't much different to 2.1.x.Is your SMTP server using SSL? ie, port 465? If so you may need to do this when using SMTP, I found this out the long way around in my testing on my 2.1 development forum when emails failed to send using SMTP without doing this. Prepend tls:// or ssl:// before the SMTP servers name, eg tls://yoursmtpserver.exampleIf your server is not using SSL (port 25, hopefully not!) then the above isn't required and it's possible that your host doesn't have fsockopen enabled in PHP, which is what the smtp_mail function uses.