It would be most helpful to have a [simplenews-sender-mail] token that can be automatically included in a footer.tpl file.

Some spam filters (like Yahoo) tag an html simplenews newsletter as "spam" if there is no contact email specified at the bottom. (Something to do with CAN). And since we have multiple newsletters with multiple sender email addresses, it would be great to have it all populated dynamically based on the "email from" newsletter setting.

Best,
Andrey.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.andrey’s picture

Status: Active » Needs review
FileSize
2.69 KB

Here's a patch that adds the [simplenews-sender-mail] token.

mr.andrey’s picture

Here's a better version of the patch, which defines "Sender name" and "Sender email address" as two separate tokens.

mr.andrey’s picture

Title: Add a [simplenews-sender-mail] token » Add [simplenews-from-name] and [simplenews-from-mail] tokens (patch)

Changing title to a more appropriate one.

edblackwood’s picture

Where do you add this patch?

mr.andrey’s picture

miro_dietiker’s picture

Status: Needs review » Fixed
FileSize
3.42 KB

Added to CVS with patch below.

Thanks and greetings.

Status: Fixed » Closed (fixed)

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

korzh-nick’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Active

Hi!
Is it possible to get the same functionality for the 7.x-2.x-dev branch?