My new hoster wanted me to host from the hoster’s smtp, so I changed local host to the hoster smtp and made a few lines to try to get the SSL working.
I am not getting it to work, these are the lines in the config :
# If you want to use the PHPMailer class from phpmailer.sourceforge.net, set the following # to 1. If you tend to send out html emails, it is recommended to do so. define("PHPMAILER",1); # To use a SMTP please give your server hostname here, leave it blank to use the standard # PHP mail() command. define("PHPMAILERHOST",'smtp.bhosted.nl'); define("PHPMAILER_SECURE",'ssl'); // Enter your SMTP2GO account's SMTP server. # if you want to use smtp authentication when sending the email uncomment the following # two lines and set the username and password to be the correct ones $phpmailer_smtpuser = '***********'; // Enter your SMTP2GO Username. $phpmailer_smtppassword = '**********'; // Enter your SMTP2GO Password. $phpmailer_smtpport = '465'; // 8025, 587 and 25 can also be used define('PHPMAILERPORT',465); define("PHPMAILER_SECURE",'ssl'); $phpmailer_smtpsecure = 'ssl'; //ssl or tls or blank
What am I doing wrong?
Thanks and greetings,