From what should be a non-trivial task, I find this very confusing. My requirement is to send HTML email upon webform submission. Here is what I have now.
from address is set as domain email address ([email protected]) that is set as system's email address, set via Admin >> Configuration >> System, the email was sent as non HTML email. This is strange, because I dpm the email content before executing drupal_mail, and it shows up as properly formatted HTML. I could tolerate this for now. Here comes the trivial part.
from address is set as non-domain email address, such as [email protected], the email sent, never reached the recipients, but is logged as sent (I use mail_logger module) under appropriate email key. I have checked spam folder but it is not there either.
My question is, does drupal 7 require the
from email address to be that of the same domain or set as system email? (I would have expect a failed message and is logged into mail_logger)
Any suggestions would help.