Setting Up Account Emails

When a new user registers on your site, Drupal will send them a Welcome e-mail. When a user requests a password reset, an e-mail is sent with the details. E-mails are sent for various account-related activities. You can configure these e-mails on the Account Settings page as shown in Figure 7-8.


Welcome (new user created by ad min i stiator)

Customize welcome e-mail messages sent to new members upon registering, when administrative approval is required. Available variables are: [slte:najne]. [site:urfl. [username], Eusermall].

Welcome (awaiting approval)

[site:login-url], [user:edlt-url], [userpajsword], [userone-ame-login-url], |user:cancel-url].

Welcome (no approval



Account details lor [username] at Drupal 7 (pending admin approval)

Account activation


Account blocked


Account cancellation confirmation

Account canceled

Password recovery

Thank you for registering at our website. Your application for an account is currently pending approval. Once It has beer approved, you will receive another e-mail containing information about how to log In, set your password, and other details.

Save configuration


Follow the next exercise to create a customized Welcome e-mail.

| Customizing Your Welcome E-mail

In this exercise, you create a customized Welcome e-mail that will be sent to each new user.

1. Navigate to Configuration C> Account Settings.

2. At the bottom of the page under Emails, select Welcome (No Approval Required).

3. Type in the following information:

Hey there [user:name], and welcome to our community. Please click the link below to verify your e-mail address and enable your account. We look forward to seeing you around the community.


For security reasons, this URL can only be used once. Once you have logged in, you can modify your password and other account settings at [user:edit-url].

See you around the community!

4. Click the Save Configuration button at the bottom of the page. How It Works

As you saw in the exercise, Drupal sends out several e-mails for various account activities. Each of these e-mails has a number of variables that can be used to create a personal touch to your site's e-mails.

0 0

Post a comment