Where to set the default "to" email address

Created on 15 December 2022, over 1 year ago
Updated 12 June 2024, 13 days ago

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

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡©πŸ‡ͺGermany markdc Hamburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands Martijn de Wit πŸ‡³πŸ‡± The Netherlands

    It 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.

     $default_from_email = \Drupal::config('system.site')->get('mail');
    

    webform_email_reply/src/Form/WebformEmailReplyForm.php

  • Status changed to Active 13 days ago
  • πŸ‡ΊπŸ‡ΈUnited States KurtTrowbridge

    That'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.

Production build 0.69.0 2024