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.

CommentFileSizeAuthor
pic2.jpg90.31 KBmrvee
pic1.jpg80.69 KBmrvee

Comments

mrvee’s picture

I forgot to mention that the email does get send when submitting the webform.

quicksketch’s picture

Sounds 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.com instead of "First Last" <example@example.com>.

See http://drupal.org/handbook/modules/webform/faq#webform-email for other causes and solutions.

mrvee’s picture

Thank you. That worked a treat!!

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

alokicreon’s picture

I am facing the same problem.. Please provide some solution..

alokicreon’s picture

Your comment does not provide me solution..
Please provide some other solution.. I am still facing the problem..

jdblank’s picture

Version: 6.x-2.6 » 6.x-3.0-beta5

I 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

jdblank’s picture

I 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

nsyll’s picture

it work for me, I use custom "From" name and leave the field blank

jdblank’s picture

Are you on the beta5 version? Are you using a secured SMTP server?

mcrittenden’s picture

Status: Closed (fixed) » Active

Same here. Tried using Gmail's SMTP using the SMTP module and I'm still getting invalid address errors.

quicksketch’s picture

Title: invalid address: Please help. » Invalid address error

Could you provide steps to reproduce this problem?

mcrittenden’s picture

Status: Active » Fixed

Ah, 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.

Status: Fixed » Closed (fixed)

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

Dret’s picture

I 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