by bruce chambr.
I would very much like to better understand how Moodle sends emails.
I've used php's mail function by configuring the sendmail_path in php.ini.
I've then left the settings in Site administration>Plugins>Message outputs>Email blank and my moodle seems to send emails OK.
How are these settings in Moodle used? I can't see any overloaded form of php's mail function where they can be used.
Does moodle use MTA's or mail clients in some way outside of php's mail functions?
I found this
https://docs.moodle.org/dev/Email_processing
but it still doesn't really clarify it for me. (It's also a little old 2.5)
I'd be grateful if anyone could shed light on this for me.