function _pm_email_notify_default_body in Privatemsg 7
Same name and namespace in other branches
- 6 pm_email_notify/pm_email_notify.module \_pm_email_notify_default_body()
Returns default email notification body.
2 calls to _pm_email_notify_default_body()
- pm_email_notify_form_privatemsg_admin_settings_alter in pm_email_notify/
pm_email_notify.module - Implements hook_form_FORM_ID_alter().
- pm_email_notify_mail in pm_email_notify/
pm_email_notify.module - Implements hook_mail().
File
- pm_email_notify/
pm_email_notify.module, line 85 - Notifies users about new Private Messages via Email.
Code
function _pm_email_notify_default_body() {
return "Hi [privatemsg_message:recipient],\n\nThis is an automatic reminder from the site [site:name]. You have received a new private message from [privatemsg_message:author].\n\nTo read your message, follow this link:\n[privatemsg_message:url]\n\nIf you don't want to receive these emails again, change your preferences here:\n[privatemsg_message:recipient:edit-url]";
}