Hi guys
I have a small issue with my webform install. Everything works perfect except, when I submit any one of the 2 webforms on my site, I get an error message saying "Invalid address:"
Please note that it pulls any name that is defined in the "Email From Name:" in the content edit page for the webform.
Does this make sense?
eg:
If I set the "Email from name:" field in the webform setup to "FROM NAME!" it will display the error "Invalid address:FROM NAME!" as soon as I submit the form.
This happens on both webform I have on the site.
Am I missing something? Please help.
Comments
Comment #1
mrvee commentedI forgot to mention that the email does get send when submitting the webform.
Comment #2
quicksketchSounds like your server doesn't like the "From" format that Webform uses. This is a common problem with Windows-based Apache and IIS servers. You can work-around this problem by setting the "From" name to custom and leaving the field blank. Then Webform will make the "From" string something like
example@example.cominstead of"First Last" <example@example.com>.See http://drupal.org/handbook/modules/webform/faq#webform-email for other causes and solutions.
Comment #3
mrvee commentedThank you. That worked a treat!!
Comment #4
quicksketchComment #6
alokicreon commentedI am facing the same problem.. Please provide some solution..
Comment #7
alokicreon commentedYour comment does not provide me solution..
Please provide some other solution.. I am still facing the problem..
Comment #8
jdblank commentedI am experiencing the same issue.
I am using the SMTP module and Google Apps as my out going mail server.
The email sends fine, however the user gets an error message on every submission:
Invalid address: "" Invalid address: ""
(i set the from name to be custom with a blank value)
Any help would be much appreciated.
Thanks,
Josh
Comment #9
jdblank commentedI have tried troubleshooting this but to no avail. I have tried several different SMTP servers using the SMTP module as well as just the webservers mail server without the SMTP module and whenever it sends mail the user gets a white screen with an invalid address error. Even if I set custom to ""
The email does go through though but i want it to show the proper thankyou page.
Thanks,
Josh
Comment #10
nsyll commentedit work for me, I use custom "From" name and leave the field blank
Comment #11
jdblank commentedAre you on the beta5 version? Are you using a secured SMTP server?
Comment #12
mcrittenden commentedSame here. Tried using Gmail's SMTP using the SMTP module and I'm still getting invalid address errors.
Comment #13
quicksketchCould you provide steps to reproduce this problem?
Comment #14
mcrittenden commentedAh, upgrading to the latest dev release of SMTP fixed it for me. Marking fixed...someone can re-open if that doesn't do it for them.
Comment #16
Dret commentedI have a similar problem:
In my Webform I have an email field to compile (mandatory).
On submitting, a copy of data have to be sent to this email address.
If I enter a wrong email the result is a white page with "SMTP ERROR" reportng the wrong address... (similar to image posted above)
It is an Ugly page"...!!!
Is possible to redirect this error in a drupal page or to hide this?
Thanks!
PS I'm using also SMTP module