Hello.
I manage to configure notifications by mail. However, when I save, it says "Successfully saved. Test Email could not be sent".
I use smtp.office365.com server.
I use SSL and I can not send test e-mail.
I have also configured username and password.
Please advise.
Thanks,
Regards.
Mail Configurations
- Attachments
-
- Test Email Not Sent.jpg (101.06KiB)Viewed 74829 times
-
- Posts:3
- Joined:Mon Dec 17, 2018 5:55 pm
Re: Mail Configurations
I believe you need port 465 for ssl; and 578 is for non-ssl.
Re: Mail Configurations
Hi zhiyu,
It seems the port and the encryption option you have used are not matching.
If you have intended to use ssl encryption then the port should be 465.
if the port is 587, then encryption should be tls.
It seems the port and the encryption option you have used are not matching.
If you have intended to use ssl encryption then the port should be 465.
if the port is 587, then encryption should be tls.
Re: Mail Configurations
Hi,
I have done same settings as mentioned still getting error.
I have done same settings as mentioned still getting error.
- Attachments
-
- Mail config.png (25.73KiB)Viewed 17111 times
Re: Mail Configurations
Hi dipesh,
The configuration you have entered seems correct.
You may find logs related to email sending in symfony/log/email.log file.
You may get some idea from that log file. If you can't understand the error log, you may post the error log here so that someone can help.
The configuration you have entered seems correct.
You may find logs related to email sending in symfony/log/email.log file.
You may get some idea from that log file. If you can't understand the error log, you may post the error log here so that someone can help.
Re: Mail Configurations
Wed 08 Jan 2020 12:04:44 PM IST,048 [24499] INFO core.email - ========== Message Begins ==========
Time : January 8, 2020, 12:04 pm
Message Type : Failure
Message : Sending email failed to dipesh.mhatre@finoux.com using smtp. Reason: Connection could not be established with host smtp.gmail.com [ #0]
Time : January 8, 2020, 12:04 pm
Message Type : Failure
Message : Sending email failed to dipesh.mhatre@finoux.com using smtp. Reason: Connection could not be established with host smtp.gmail.com [ #0]
Re: Mail Configurations
I am able to telnet to smtp.gmail.com on port 465 & 587
ruport@orange:~$ telnet smtp.gmail.com 465
Trying 74.125.68.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
^\Connection closed by foreign host.
ruport@orange:~$ telnet smtp.gmail.com 587
Trying 74.125.68.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP i3sm2029973pfo.72 - gsmtp
ruport@orange:~$ telnet smtp.gmail.com 465
Trying 74.125.68.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
^\Connection closed by foreign host.
ruport@orange:~$ telnet smtp.gmail.com 587
Trying 74.125.68.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP i3sm2029973pfo.72 - gsmtp
Re: Mail Configurations
This solved my issue.
https://stackoverflow.com/questions/57799538/why-does-email-failed-to-send-smtp-connect-failed-still-appear-after-havin
https://stackoverflow.com/questions/57799538/why-does-email-failed-to-send-smtp-connect-failed-still-appear-after-havin