I created an email script using phpmailer smtp and receiving this error:
"Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting."
i used as :
$mail->SMTPDebug = 0;
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
$mail->SMTPSecure = false;
_____________________________
Also tried this :
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'vi******************ket.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'contact@vi******************ket.com'; // SMTP username
$mail->Password = 'vi********r@************'; // SMTP password
$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
$mail->Port = 25; // TCP port to connect to
_______________________
Plz Help...
Solved! Go to Solution.
Host: p3plcpnl1000.prod.phx3.secureserver.net
USERNAME
PASSWORD
PORT: 25
ENCRYPTION: none
This all worked for me for SMTP for e-mail services use that as the HOST. The rest should be pretty easy. I have read on GITHUB that you cannot send with encryption. Godaddy will encrypt it for you i think with their SSL. You are unable to use your own. Pretty sure that's how it works.
Update for those having issues with sending email using godaddy's server.
I used 587 port with tls and used the office365 server
smtp.office365.com
You're using the wrong SMTP Port. Default SMTP Port is 465. Try changing the port to 465.
Tried with port 465. But Same Error Showing..
I suggest you ask Godaddy Support to let you know your SMTP Details or else provide me the email login so I can check and let you.
I called GoDaddy Support Team, they told me change server as relay-hosting.secureserver.net and port as 25.
But not working...
"else provide me the email login so I can check and let you." - i didn't get what u mean??
I mean the login information of your email account through which your planing to send or receive emails as there are options which displays your incoming and outgoing mail server details.
otorays.com/webmail
email : *****************
password : *****************
*edited by moderation
Please change the password and PM me and remember never share any login information in public.
Hi here's your SMTP Details
Username: care@otorays.com
Password: Use the email account’s password.
Incoming Server: sg2plcpnl0179.prod.sin2.secureserver.net
IMAP Port: 993
POP3 Port: 995
Outgoing Server: sg2plcpnl0179.prod.sin2.secureserver.net
SMTP Port: 465
Please note that IMAP, POP3, and SMTP require authentication.
Sorry to say, i didn't get what you meant?
how i use these details??
Please use the following script. If this doesn't work then it might be some code error from your side.
$mail->SMTPDebug = 0; $mail->isSMTP(); $mail->Host = 'sg2plcpnl0179.prod.sin2.secureserver.net'; $mail->Port = 465; $mail->SMTPAuth = true; $mail->SMTPSecure = true;
This code also not working..
Go daddy support team told me to put
host = localhost
port = 25
and
authentication = false.
But that also not working...
I don't know what to do? Move away from Go daddy to another provider may help, i think
Host: p3plcpnl1000.prod.phx3.secureserver.net
USERNAME
PASSWORD
PORT: 25
ENCRYPTION: none
This all worked for me for SMTP for e-mail services use that as the HOST. The rest should be pretty easy. I have read on GITHUB that you cannot send with encryption. Godaddy will encrypt it for you i think with their SSL. You are unable to use your own. Pretty sure that's how it works.
Update for those having issues with sending email using godaddy's server.
I used 587 port with tls and used the office365 server
smtp.office365.com