When using a custom "E-mail from name" double quotes should be removed before sending because they cause the From: header to have multiple double quotes, so it becomes invalid.
From: "test test "test test" via Example"

So the mail is bounced with an error "SMTP error from remote mail server after pipelined end of data: 550-5.7.1 [xxxx 14] Messages missing a valid address in From: header,\n550 5.7.1 or having no From: header, are not accepted. d7si9816683wrj.229 - gsmtp"

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hansrossel created an issue. See original summary.

fjgarlin’s picture

Patch attached to replace double quotes with simple ones.

  • Liam Morland committed b28e33a on 7.x-4.x
    Issue #3074516 by Liam Morland: Test _webform_submission_prepare_mail()
    
  • Liam Morland committed eec70cc on 7.x-4.x authored by fjgarlin
    Issue #3074516 by fjgarlin, Liam Morland: Remove double-quotes from...
Liam Morland’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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