Для массовой отправки письма с сайта использую модуль Mass Contact.
Как можно добавить реальное имя пользователя и его логин в тело письма?
Есть только следующие tokens:
Global маркеры
[page-title] The page title.
[user-name] Имя авторизованного в данный момент пользователя.
[user-id] ID авторизованного в данный момент пользователя.
[user-mail] Адрес электронной почты авторизованного в данный момент пользователя.
[site-url] The URL of the current Drupal website.
[site-name] Название данного сайта Drupal.
[site-slogan] Слоган данного сайта Drupal.
[site-mission] Миссия данного сайта Drupal.
[site-mail] Контактный адрес электронной почты для данного сайта Drupal.
[site-date] Текущая дата на сервере сайта.
[site-date-yyyy] The current year (four digit)
[site-date-yy] The current year (two digit)
[site-date-month] The current month (full word)
[site-date-mon] The current month (abbreviated)
[site-date-mm] The current month (two digits with leading zeros)
[site-date-m] The current month (one or two digits without leading zeros)
[site-date-ww] The current week (two digits with leading zeros)
[site-date-date] The current date (numeric representation of the day of the week)
[site-date-day] The current day (full word)
[site-date-ddd] The current day (abbreviation)
[site-date-dd] The current day (two digits with leading zeros)
[site-date-d] The current day (one or two digits without leading zeros)
[site-date-raw] The current in UNIX timestamp format (1269441371)
User_relationships_api маркеры
[requestee] The user who approved the connnection request.
[relationship-name] The relationship name (singular form)
[page-title] The page title.
[user-name] Имя авторизованного в данный момент пользователя.
[user-id] ID авторизованного в данный момент пользователя.
[user-mail] Адрес электронной почты авторизованного в данный момент пользователя.
[site-url] The URL of the current Drupal website.
[site-name] Название данного сайта Drupal.
[site-slogan] Слоган данного сайта Drupal.
[site-mission] Миссия данного сайта Drupal.
[site-mail] Контактный адрес электронной почты для данного сайта Drupal.
[site-date] Текущая дата на сервере сайта.
[site-date-yyyy] The current year (four digit)
[site-date-yy] The current year (two digit)
[site-date-month] The current month (full word)
[site-date-mon] The current month (abbreviated)
[site-date-mm] The current month (two digits with leading zeros)
[site-date-m] The current month (one or two digits without leading zeros)
[site-date-ww] The current week (two digits with leading zeros)
[site-date-date] The current date (numeric representation of the day of the week)
[site-date-day] The current day (full word)
[site-date-ddd] The current day (abbreviation)
[site-date-dd] The current day (two digits with leading zeros)
[site-date-d] The current day (one or two digits without leading zeros)
[site-date-raw] The current in UNIX timestamp format (1269441371)
User_relationships_api маркеры
[requestee] The user who approved the connnection request.
[relationship-name] The relationship name (singular form)