0

I want to theme the mail which is used to sent a link to user when the user forgot the password. I want to know what I need to name the template file so that Drupal will take my email template file.

I am using the Mime Mail module. How do I find the key of that particular module?

3 Answers 3

1

This

mimemail-message--user-pasword-reset.tpl.php

template file name is not worked.Belowone worked for me

mimemail-message--password_reset.tpl.php

0
mimemail-message--user-pasword-reset.tpl.php 

this is how you should name the template file that will cover User Password Reset email.

More information here: Theming HTML Mail sent through Mime Mail

I'd recommend installing Mail Logger. It shows the mail key of every email that is sent. Note: this module currently has only D7 release.

0

use

mimemail-message--user--password_reset.tpl.php

correct format mimemail-message--[module]--[key].tpl.php . The module in this case is "user" (check yoursite/modules/user). The keys can be found in the module's hook_mail() implementation, in this case "password_reset"

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.