Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
quicksketchThis 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.
Comment #2
Bimbastico CreditAttribution: Bimbastico commentedHi quicksketch, thanks for your fast reply. I'll do that :) Nevertheless... is there a possibility to avoid sending any email confirmation at all?
Comment #3
quicksketchWebform 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.
Comment #4
Bimbastico CreditAttribution: Bimbastico commentedOk, 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!
Comment #5
quicksketchOh 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.
Comment #6
quicksketch