I understand one configures an “Email Domain” with server information and then runs an “Email Account” against it. Only no mail, although appearing in communications as “sent” ever goes through.
Watching postfix’s mail.log on the mail server shows a connection when an Email Domain is saved but with “lost connection after AUTH”.
It would really help to be able to test on a lower level as one would with php -r "mail('foo@bar.com', 'test', 'test');"
I hear there is frappe.sendmail(), how does one invoke that?
site_config.json <= pause_scheduler = 1
That was it!
Like every good application ERPnext has its own mail queue and scheduler, the latter just didn’t ever run. If only I had known about it, fixing that issue would have been done in a jiffy!
Invoked bench enable_scheduler
a few times but the scheduler never came on. VI’ing site_config.json finally did it. That was a tough one…
Sometimes, many years later, I find solutions to problems in my own postings.
So, kombi, if your mail does not go out with an error to the effect of “image creation failed” add a host_name to your site_config.json WITH protocol prefix (so it is actually more a URL than a host name)