So in setting up the site for a client I realized that the return-path is not being setup correctly. In our case the name of the site is "Media@McGill" and this is the name (attached to the smpt server's name) that is being sent. If I turn off MimeMail and use the DefaultMail system then it uses the proper email address configuration.
Any ideas? I even tried to change the "Sender name" to match the email address but that didn't seem to even be used?
Cheers
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | mimemail-1798324-4.patch | 1.52 KB | sgabe |
| #3 | mimemail-1798324-3.patch | 564 bytes | sgabe |
| #2 | mimemail-split_email_on_whitespace-1798324-0.patch | 637 bytes | kienan |
Comments
Comment #1
shaneonabike commentedI also increased the status since I think it is pretty major that the return-path is not being setup properly. It means that most emails being sent my simplenews using this module are actually being marked as spam by google and other agents.
Comment #2
kienan commentedThis is a tiny patch which takes the last part of the address, exploded from a ' ' as the subject in the preg_match() which follows. Ideally I think the function here should parse the email address as something closer to rfc-compliant, however this will solve the problem in many cases. Emails of the form "a person"@domain.tld will break this patch.
Comment #3
sgabe commentedI would rather just fix the regex pattern.
Comment #4
sgabe commentedTest added.
Comment #5
sgabe commentedPatch committed to both branches.