2016-08-15, 02:15 PM
2016-08-15, 04:00 PM
This is the setting i tried:
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 587
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: Unable to connect to the mail server with the given details. Reason: 101: Network is unreachable
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 465
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: The mail server is not ready, it did not respond with a 220 status message.
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 465
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: The mail server is not ready, it did not respond with a 220 status message.
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 587
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: TLS
Add message ID in mail headers: No
--------- ERROR MESSAGE: Unable to connect to the mail server with the given details. Reason: 101: Network is unreachable
I contacted my isp and they said that sending SMTP must be authenticated and like this code:
$mail->Host = 'localhost'; // smtp server
$mail->SMTPAuth = true; // enables the authentication form
$mail->Username = '[email protected]'; // email
$mail->Password = 'Loca1020'; // password
…
$mail->Port = 587; // port
$mail->From = '[email protected]'; // REQUIRED: "From" e- mail must be the same "username" (username)
And this is the test working form: http://guerreirosbushcraft.com.br/testes...ler5_2New/
This is the working form zip: www.guerreirosbushcraft.com.br/testesuporte/Mailer5_2New_final.zip
My forum: http://www.guerreirosbushcraft.com.br/forum
I'm trying for a week to solve this!!!
Thanks a lot!
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 587
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: Unable to connect to the mail server with the given details. Reason: 101: Network is unreachable
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 465
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: The mail server is not ready, it did not respond with a 220 status message.
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 465
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: no encryption
Add message ID in mail headers: No
--------- ERROR MESSAGE: The mail server is not ready, it did not respond with a 220 status message.
---------
Mail handler: SMTP mail
SMTP hostname: smtp.gmail.com
SMTP port: 587
SMTP username: [email protected]
SMTP password: *****
SMTP Encryption Mode: TLS
Add message ID in mail headers: No
--------- ERROR MESSAGE: Unable to connect to the mail server with the given details. Reason: 101: Network is unreachable
I contacted my isp and they said that sending SMTP must be authenticated and like this code:
$mail->Host = 'localhost'; // smtp server
$mail->SMTPAuth = true; // enables the authentication form
$mail->Username = '[email protected]'; // email
$mail->Password = 'Loca1020'; // password
…
$mail->Port = 587; // port
$mail->From = '[email protected]'; // REQUIRED: "From" e- mail must be the same "username" (username)
And this is the test working form: http://guerreirosbushcraft.com.br/testes...ler5_2New/
This is the working form zip: www.guerreirosbushcraft.com.br/testesuporte/Mailer5_2New_final.zip
My forum: http://www.guerreirosbushcraft.com.br/forum
I'm trying for a week to solve this!!!
Thanks a lot!
2016-08-15, 04:50 PM
You need to enable SSL encryption when connecting to port 465 and TLS encryption when connecting to port 587.
However "101: Network is unreachable" indicates your host blocks connection to the smtp.gmail.com. You probably need to set up the SMTP server of your host instead.
However "101: Network is unreachable" indicates your host blocks connection to the smtp.gmail.com. You probably need to set up the SMTP server of your host instead.
2016-08-15, 05:58 PM
Thanks for all help man!
I gave up! I made a email from cpanel and it worked. I'm sad , but it was the only solution.
I gave up! I made a email from cpanel and it worked. I'm sad , but it was the only solution.
2018-04-30, 08:47 AM
Hello everybody
I have the same problem:
the SMTP Server rejected the supplied SMTP password. Reason 535 Incorrect authentication data
Mail handler: SMTP Mail
SMTP hostname: webmail.sitename.com
SMTP port: 25
SMTP username: [email protected]
SMTP password: **********
SMTP Encryption Mode: None
Add message ID in mail headers: Yes
It worked properly until last week. Although I didn't change any settings, it was spoiled by itself and is no longer working now.
I have the same problem:
the SMTP Server rejected the supplied SMTP password. Reason 535 Incorrect authentication data
Mail handler: SMTP Mail
SMTP hostname: webmail.sitename.com
SMTP port: 25
SMTP username: [email protected]
SMTP password: **********
SMTP Encryption Mode: None
Add message ID in mail headers: Yes
It worked properly until last week. Although I didn't change any settings, it was spoiled by itself and is no longer working now.
2018-05-28, 09:26 AM
Can not fix this problem?