Has anything been changed between SS5.3 and 6.2 that emails don’t work anymore?
I upgraded a website from 5.3 to 6.2 and now on version 6.2 neither the forgot password link email nor the “from” email under ‘Recepient’ on an User Defined Form page work.
Emails don’t get send and I can’t find anything in a log file.
MX record is domain.mail.protection.outlook.com and the domain is an add-on domain on the server, Not sure if any of this is now on 6.2 relevant.
Thank you for your reply. I saw this documentation but it didn’t make sense to me (a real world example for e.g. outlook is missing for me to understand how to really configure this). Then I couldn’t really believe that I have to enter my password here. So, I thought that can’t be right I misunderstand something here.
Do I really have to put my email password into this? Why did SilverStripe change to this? So every admin can go, have a look and log into my email account or is there anything I am missing?
What if my email is 2-factor-authorised? How would that work?
Why did it work out of the box before and now such a dramatic change?
How were you sending emails in CMS 5? Did you not have a username and password there?
Are you using a personal email account for sending emails from the site?
The change to Symfony mailer under the hood provides better ongoing support and actually allows more flexibility in different ways to send.
The DNS lives in the environment, so yes, it would be visible to anyone with server access… but if you can’t trust those people with security details, I’d say you have bigger concerns,
There was this Swift_Transport class Swift_SendmailTransport used in the config.
It is a domain email that my client want to send those emails from.
I partly solved it by setting a SS_SEND_ALL_EMAILS_FROM so the forgot password works, but they actually wanted the “from” email under Recipients in the UserDefinedForm page to work.