O'Reilly logo

Drupal 7 Webform Cookbook by Douglas Vernon Denny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Theming Webform e-mail headers

In Chapter 2, Trying Out Webform, we configured our Speaker Registration form to automatically send a confirmation e-mail to the person registering. We also saw that it was possible to configure a second e-mail to be sent to a website administrator.

In this exercise we will, instead, send a copy of the confirmation e-mail to our website administrator using the BCC (Blind Carbon Copy) e-mail header. The standard CC (Carbon Copy) header will show the additional recipients of an e-mail in the main recipients e-mail client. Using BCC enables us to hide the fact that a third party has also received a copy of an e-mail.

How to do it...

We can make use of the Drupal theme layer to customize the e-mail headers of the e-mails ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required