Is there a way to make it appear the email is coming from the person who submitted it, instead of the site it resides on? The webform has an email field, and I'd like to use that as the source of the email.
Depending on the Webform version, you can accomplish this in one of two ways:
When you edit the webform, look under Webform mail settings for E-mail from address. As long as you have an email field attached to the webform, you can select that field under the Component option.
Click on the E-mails task underneath the Webform tab when viewing a webform node. Within the E-mail header details fieldset, you'll see an option to change the E-mail from address.
The one caveat: Drupal sets the
Return-Path: headers to the site's email address. You can, however, change these headers using
If you wanted to make sure the email field is set to user's email address (for a logged in user), you should've noticed the User email as default checkbox in the email field's settings, which will accomplish this and will work with the setting I mentioned above.
According to this code: http://api.lullabot.com/webform_submission_send_mail
There is no way.
But you can send an e-mail in a hook: http://api.freestylesystems.co.uk/api/drupal/contributions--webform--webform_hooks.php/function/hook_webform_submission_insert/6
In this hook you just load e-mails you want to send this webform. You can gather sender e-mail from $node argument of this hook.