The mail sent for anonymous users contains "!mailto" and "!site" strings.

The problem comes from simplenews.module:

  ...
  $vars = $subscription->uid ? user_mail_tokens($subscription, $language) : array();
  ...

I would change it to:

  ...
  $vars = $subscription->uid ? user_mail_tokens($subscription, $language) : user_mail_tokens($context['account'], $language);
  ...

Comments

sutharsan’s picture

Status: Active » Fixed

Use the latest 6.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.