Mail Configurations

Discuss Technical Queries about OrangeHRM
Post Reply
zhiyu
Posts: 1
Joined: Tue Sep 04, 2018 3:34 am

Mail Configurations

Post by zhiyu » Mon Sep 10, 2018 3:16 am

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. :cry:


Thanks,

Regards.
Attachments
Test Email Not Sent.jpg
Test Email Not Sent.jpg (101.06 KiB) Viewed 57971 times

kenshi1023
Posts: 1
Joined: Mon Dec 17, 2018 5:55 pm

Re: Mail Configurations

Post by kenshi1023 » Mon Dec 17, 2018 6:22 pm

I believe you need port 465 for ssl; and 578 is for non-ssl.

damithk
Posts: 5
Joined: Thu Aug 29, 2019 1:58 pm

Re: Mail Configurations

Post by damithk » Fri Aug 30, 2019 8:12 am

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.

dipesh
Posts: 1
Joined: Thu Sep 26, 2019 7:04 am

Re: Mail Configurations

Post by dipesh » Thu Sep 26, 2019 7:07 am

Hi,

I have done same settings as mentioned still getting error.
Attachments
Mail config.png
Mail config.png (25.73 KiB) Viewed 253 times

damithk
Posts: 5
Joined: Thu Aug 29, 2019 1:58 pm

Re: Mail Configurations

Post by damithk » Thu Sep 26, 2019 8:58 am

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.

Post Reply