Closed (fixed)
Project:
Webform
Version:
5.x-2.1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2008 at 11:43 UTC
Updated:
10 Jan 2009 at 02:17 UTC
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
Comment #1
quicksketchThere 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?
Comment #2
jsm174 commentedI 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
Comment #3
jsm174 commentedI 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
Comment #4
steckels00 commentedI 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 ">"
Comment #5
quicksketchIt'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.
Comment #6
quicksketchThere 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.