This topic is locked

Email not working

6/22/2023 11:17:03 AM
PHPRunner General questions
W
wijninga author

Hi all,
I'm trying to send an email with the added data thorugh Office365, but I must be missing something cause no mail is ever received (not in spam either).
I configured the email settings under miscaleneous:
img alt
img alt
And I added an after record added event. There is a second event after sending the email, a thank you page, that does work after the email should have been sent:
img alt
Can anyone point me in the right direction what I am missing here? And yes, the office365 account does exist and the email is correct and I can telnet from the webserver where the page is running on port 25 and 587 and send emails from the commandline. So credentials are ok.
I have been looking in nginx logfiles, but there is nothing wrong in either the access or error logs.
Any help is greatly appreciated!
Thanks,
Rene

Sergey Kornilov admin 6/22/2023

Check this article that explains how to troubleshoot SMTP errors:
https://asprunner.com/forums/topic/29214-Troubleshooting-SMTP-errors

W
wijninga author 6/22/2023

Thanks Sergey! That really helped a ton!
And well, that escalated quickly:
2023-06-22 18:52:09 SMTP -> get_lines(): $str is "535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [AS4P250CA0007.EURP250.PROD.OUTLOOK.COM 2023-06-22T18:52:09.417Z 08DB72ECEFB6E270]"

Sergey Kornilov admin 6/22/2023

Did it help you to solve the issue?

W
wijninga author 6/22/2023

Yes it did! The smtp error was clearly displayed, so it truns out Office365 changed the SMTP mailer and it's now deprecated. (perhaps interesting for you Sergey)
So I moved to Mailersend and now everything is working like expected.
Thanks for your quick and perfect support!

Sergey Kornilov admin 6/22/2023

Could you explain what are Mailersend and SMTP mailer?