What steps to take in order to send email in Windwos Server 2012R2? #11704
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have Server 2019 set up with SNIPEIT and my email works just fine without having to set up a external or separate SMTP server. I am currently using smtp.gmail.com. All you need to do is simply edit the .env config file with your smtp settings. If you already have a SMTP server - just use whatever settings, you have and plug it into your .env config file. I didn't set up SMTP using IIS. Once you have everything set up correctly with your SMTP, make sure that you specify which categories you want your users to receive email notifications for check-in/check-outs and requests, etc. |
Beta Was this translation helpful? Give feedback.
-
Finally, I solved it by taking off the tls out and leaving the following environment variable as follows : Albeit both Laravel.log and IIS Logging don't display any related errors as mentioned above, I have received an indicative message in the Network panel of the browser's DevTools (chrome) when I click the Send Test button : Which then led me to find the solution that worked for me : I don't know why it worked, and I wish to understand the reason. |
Beta Was this translation helpful? Give feedback.
Finally, I solved it by taking off the tls out and leaving the following environment variable as follows :
MAIL_ENCRYPTION=""
Albeit both Laravel.log and IIS Logging don't display any related errors as mentioned above, I have received an indicative message in the Network panel of the browser's DevTools (chrome) when I click the Send Test button :
stream_socket_enable_crypto(): SSL operation failed with code 1
Which then led me to find the solution that worked for me :
https://stackoverflow.com/a/58619462/16640601
I don't know why it worked, and I wish to understand the reason.