Hello,

after installing "PHPMailer" and deinstalling "SMTP" projekt notification mails will be sent with broken "from"-Content.
That broken "from"-content looks like this

  • comm-press @mail01.dxtribute.net

correct from-content looks like this

  • "Ralf Hendel (Drupal Hamburg - Consulting, Service, Webdesign - comm-press)"
  • The Pattern for this is "[username] ([pagetitle])" <[sender-adress]>

after deinstalling "PHPMailer" and reinstalling "SMTP" projekt notification mails will be sent with correct "from"-Content.

SMTP-Test Mails from modul are always ok.

Are this enough informations for you to understand that behaviour?
Problem is that this terminates my mail-sorting-rules.

Thanks in advance and best regards,
Ralf

CommentFileSizeAuthor
#3 634868-parse_address.patch3.15 KBsmk-ka

Comments

R.Hendel’s picture

I forgot to notice, that "@mail01.dxtribute.net" is no correct mail-domain.
It's the internal domain server uses for autocomplete for recipients without a valid domain.

R.Hendel’s picture

Hi,
maybe this can give you further informations:
I found this header entry:
BAD HEADER SECTION, Duplicate header field: "Date"
Regards, Ralf

smk-ka’s picture

Title: Wrong "From" Content from notification mails » Wrong "From" address in notification emails
Version: 6.x-2.1 » 6.x-2.x-dev
Category: support » bug
Status: Active » Needs review
StatusFileSize
new3.15 KB

I've rewritten the e-mail address parser which is responsible for extracting and handing e-mail addresses over to the PHPMailer library. I'll try to come up with some tests later, but in the meantime it would be nice if you could verify that this patch fixes your issue.

smk-ka’s picture

Status: Needs review » Fixed

After adding a test case I feel confident enough to commit to CVS.

kkallsen’s picture

Priority: Normal » Critical
Status: Fixed » Needs work

I have the same problem phpmailer strips the original 'from' from the contact page and replaces with the gmail login username. Now I don't have the email address from the contact form.

Kevin

smk-ka’s picture

Priority: Critical » Normal
Status: Needs work » Fixed

That's not what this issue is about, for your problem look over here: #607204: Cannot reply to emails sent via Gmail

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.