I'd like a webform to send an e-mail to a Drupal user rather than a specific e-mail address. This user's e-mail address may change at any given time. This user is the webform node's author. Perhaps I'm missing something very simple, but I can't figure out how to make this work!

Comments

quicksketch’s picture

Webform doesn't have this ability as built-in functionality currently. You may be able to add a hidden field and use a token to set the default value, then use the hidden field as the e-mail destination. However you probably won't be able to get at the e-mail address you want until #1001798: Rewrite token replacement system to use D7 tokens is implemented, as there's no way to get at the node author currently.

obrienmd’s picture

Is there anywhere I can hook in with a custom module to alter the e-mail destination?

beto_beto’s picture

Version: 7.x-3.15 » 6.x-3.3

is there any way to send the web form content to specific email address to my email as example ?

also i have face problem when i create a new webform the ( webform mail settings ) dose not appear !!!

quicksketch’s picture

Status: Active » Closed (fixed)

Is there anywhere I can hook in with a custom module to alter the e-mail destination?

I described this in #1497476: $node->webform[additional_emails] in webform 3.x, though I generally do not provide coding support in the issue queue. Closing this issue after lack of activity.