Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Getting Started

SMTP settings

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 = "";
$pMail->Username = "";
$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??

Helper I

if these are godaddy 365 email accounts try port 587

If i have helped go ahead and give a 'Thumbs Up'!