I get this error: "Unable to send e-mail. Please contact the site administrator if the problem persists". What can be reasons for that? Sendmail seems to work properly. But actually I don't even want to send a confirmation mail, is there a possibility to tell webform not to send confirmation mail?

Thanks in advance!

Comments

quicksketch’s picture

This is a Drupal core error, not one thrown by Webform. It sounds like it means that Drupal is not able to send any e-mail at all. I'd suggest looking over in #364673: Webform not sending e-mail (general troubleshooting, tips) for ideas.

Bimbastico’s picture

Hi quicksketch, thanks for your fast reply. I'll do that :) Nevertheless... is there a possibility to avoid sending any email confirmation at all?

quicksketch’s picture

Webform only tries to send an e-mail if there is one configured afaik. So if you edit node and set the recipient to "Custom" and leave the e-mail address blank, then Webform won't try to send an e-mail. A note that in 3.x, no e-mail is the default, you have to manually add even the "Default" of sending to the server e-mail.

Bimbastico’s picture

Ok, fixed the problem with sending mails, a mistake of mine so stupid, I don't even want to post it here :)

But I still get a confirmation mail to the mail, which is entered in the form:
"E-mail to address" is empty and I set "E-mail from name" to "Custom", which is empty, too. For "E-mail from address" I have to fill in something or set it to a component.

Any other way to stop webform from sending confirmation mails?

Thanks!

quicksketch’s picture

Oh right, what I said about e-mails being sent above I was actually thinking about the "From" settings. In order to not send e-mails, you just don't fill out the "E-mail to address" field. Besides that field, there's also a "Conditional e-mails" fieldset directly below that field that sends conditional e-mails. If all those items are unchecked, and the "E-mail to address" is empty, no e-mail will be sent. So basically, the default behavior is no e-mails at all.

quicksketch’s picture

Status: Active » Closed (fixed)