On the module description page, the first screenshot shows how to set a default email address by selecting a value from the webform. (This appears to be from Drupal 7.) I cannot find this setting anywhere in the Drupal 8 version of the module.
I'm testing with a fresh install:
Drupal 9.4.9
Webform 6.1.3
Webform Email Reply 2.0.2
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | Screenshot 2025-12-12 at 11.40.11.png | 100.24 KB | joelpittet |
| #16 | Screenshot 2025-12-12 at 11.41.03.png | 228.24 KB | joelpittet |
| #4 | D10-send-email.png | 171.44 KB | arunkumark |
| #4 | D7-send-email.png | 214.41 KB | arunkumark |
Issue fork webform_email_reply-3327484
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
martijn de witIt seems that this is the Site e-mail adres in the 2.x version
You can find this under /admin/config/system/site-information/ -> E-mail.
webform_email_reply/src/Form/WebformEmailReplyForm.php
Comment #3
kurttrowbridgeThat's true for the From: value (who's sending the email), but I think the original request was about the To: value (who's receiving it)—and I actually just came looking for that this week as well. Ideally, I would think you'd be able to either enter a token that would fill in the value from the Webform submission, or you'd get to choose on a per-form basis which Email field from the form gets used.
Comment #4
arunkumark@KurtTrowbridge @markdc
In Drupal 7, the webform module provided the option to select the From address field from the existing Webform. But now latest version(Webform Email Reply 2.x) the From address approach has been changed.
By default, the current website email address will be added as
Fromaddress. To address is always open for the user to enter. It same as Drupal 7.Drupal 7(Webform Email Reply 2.x):

Drupal 8+(Webform Email Reply 2.x):

Comment #6
kurttrowbridgeHello again—I created a merge request with a couple additions based on this issue (so I'm also switching it to a feature request and modifying the title):
/admin/structure/webform/manage/{webform}/settings) where you can specify the default recipient field for replies sent for that form's submissions.I did what I think was a decent amount of testing—sending replies to both a hardcoded email address and a token, confirming nothing breaks when the Webform has no email fields, confirming nothing breaks when the submission didn't use the default field—but would appreciate additional reviews or feedback. Thanks!
Comment #7
martijn de witIs there a dependency on a specific version of webform in this change?
Comment #8
kurttrowbridge(After thinking on it over the weekend, I decided the checkbox I introduced to customize the email when a default was set was overly complex—I removed it, so the Email field just has a default value if the submission has a value for the selected field, and is empty otherwise.)
re: #7, no, I don't think so—third-party settings are a Drupal core feature and (despite this being my first time having used them myself) have been around since D8. Nothing else in my MR requires any specific Webform functionality.
Comment #9
arunkumarkComment #11
joelpittetMoving to RTBC because I have been testing the results and it's working well. I just did some light DI changes that were requested a while ago.
Comment #12
martijn de witthank you arunkumark & joelpittet!
To make things clear. Is it possible to add 2 images to the issue summary.
1 image before the change and 1 after ?
thank you in advance!
Comment #14
martijn de witComment #16
joelpittet@martijn de wit you might have noticed the before and after in comment #4. Thanks for committing it. Here's mine in D10 only to show it in action on the 3rd party settings and the result

