I had been previously using Drupal 6.2 and Webform 6.x-2.0-beta6, and the confirmation e-mails after submitting a webform had been successfully sent after each submission.

But after upgrading to Drupal 6.4 and the latest version of Webform (6.x-2.1.3), those confirmation e-mails are no longer sent. Looking at the Postfix logs on my mail server, the confirmation e-mails are never actually reaching the mail server for sending.

Did something change in the handling of mail in Drupal 6.4 that could be causing this error?

Thanks,
Ben

P.S. I'm currently trying to get a Webform working ASAP to handle registration for an impending event, so any help would be much appreciated.

Comments

quicksketch’s picture

There shouldn't be any large changes between those two versions. Could you confirm that you're receiving any e-mails from Drupal, such as the lost password e-mail?

jsm174’s picture

I am having the same problem. Same configuration.

I turned on the contact module to verify my site could send email and it that works fine. I received the email immediately.

One thing that I noticed when I go to check the "recent log entries", there is never an entry for mail from webform like there is from the contact form, ie:

Type mail
Date Saturday, September 6, 2008 - 18:53
User admin
Location http://www.site.com/index.php?q=contact
Referrer http://www.site.com/index.php?q=contact
Message admin [admin@site.com] sent an e-mail regarding test.
Severity notice
Hostname x.x.x.x
Operations

Thanks,
-- Jason

jsm174’s picture

I am no longer having the same problem.

I stepped through the code and was able to determine the from name was causing the problem.

The site's name is similar to

"A-B-C-D-E Incorporated"

so $froms[$cid] was set to

"A-B-C-D-E Incorporated <admin@abcdeinc.com>"

That must have been messing up the mail server.

Sorry.
-- Jason

steckels00’s picture

Version: 6.x-2.1.3 » 5.x-2.1.2
Category: support » bug
Status: Active » Needs review

I can confirm this issue. My MTA log shows the following:
396 xxx.xxx.xxx.xxx MAIL MAIL FROM:<"someuser@somedomain.com" 501 badly formatted MAIL FROM user - no ">"

quicksketch’s picture

Status: Needs review » Active

It's not a patch unless there's a segment of code that can be fixed in Webform. If there's a solution that you've found by making changes to the Webform module, I'll give it a review and get it into the module.

quicksketch’s picture

Status: Active » Closed (fixed)

There haven't been any confirming reports of e-mails failing since the release of 2.3. I'm assuming that it was fixed with the later changes to the e-mail templating system in that version.