@nebulon said in Custom SMTP Mailer settings:
@guyds to explain, the settings are reset upon app restart since the package start.sh script will ensure they are updated. In your case overwritten. This often helps to reset broken apps after misconfiguration.
Yes, of course, I understand that. But this thread topic was started in order to be able to let apps control the email settings themselves when needed.
According to girish's post this functionality was implemented in march, hence I'm reporting back that it's still not available (or at least not for Wordpress).
To come back to your main issue, I am not quite sure what the users have to do with the ability for the app to send out transactional emails. Can you explain this a bit more?
The app in this case gets its own email address which it sends out emails from. Maybe you have some other use-case for mail?
Actually the users aren't the main issue, but they are related to the fact that I can't send emails when the "do not configure mail settings" option is not available for the app.
Sure the app gets its own email address, but in case of Wordpress the emails are sent from the email address configured inside the app, which is not necessarily the same address.
To clarify myself:
The field for the "From Email Address" in SMTP Mailer states the following: "The email address which will be used as the From Address if it is not supplied to the mail function".
In other words, when users are handled inside the WP app then the emails might be sent using the email address that's specified for (one of) the admin user(s), which doesn't necessarily match the users defined inside Cloudron and hence Cloudron refuses to send the email.