I need to know the settings for sending STMP emails with encryption tls.
I send emails from my godaddy accounts, all my emails accounts are hosting in godaddy.
This is my configuration (I use PHPMAILER):
$pMail->Host = "smtpout.secureserver.net";
$pMail->Username = "email@example.com";
$pMail->Port = 465
$pMail->SMTPSecure = 'tls';
$pMail->Password = "mypassword"
$pMail->SMTPAuth = true;
If I change the Port to 80 (and deactivated SMTPSECURE) I can send emails, but those emails are not encrypted!. When I use Port=465 show this error: Failed to connect to server: Connection refused (111).
What settings I need to send encrypted emails??