Thanks for the reply, @rmehta. But I’m pretty sure they’re properly formatted, I’ve checked like a dozen times already. That’s why I’m really suspecting there’s a bug somewhere.
From the error message, it seems the code is converting the < > signs to their HTML equivalents < and >. So when it gets passed to the function that actually sends the email, it has been turned into a badly-formed email address already. And then it complains that the email address should contain a domain, because the email id passed is now turned into
User <user@mydomain.com>
instead of User <user@mydomain.com> which it is supposed to be.
Sorry, but please, if you could indulge me, which source files should I check for this? Or where else should I look into if it’s really not the formatting of the email ids?
This is exactly the same thing that happens to my installation and no problem with that if that’s what we intend for the system to do.
But we want to check that option Always use Account's Email ID as Sender so that the messages coming out from the ERPNext will be sent to the recipients as if the individual user used his own email account to send them, and not the default outgoing email account.