Email field auto subscribe to subscriptions.

Add-on for Email field (https://www.drupal.org/project/email) to auto subscribe entities to subscriptions (newsletters) on entity insert, update, or delete.

Currently this module supports Simplenews (https://www.drupal.org/project/simplenews), but can very easily support more subscription modules. Create an issue if you would like another subscription module supported (or submit a patch).

Usage:

1. Install Email Field and Simplenews modules.
2. Create a Simplenews newsletter category.
3. Create a CCK field with Email module on a content type and configure auto subscription settings.

Note:

Entities with identical email addresses will behave as the following example:

Entity A has email address email@address.com.
Entity B has email address email@address.com.
Entity A and B has been subscribed to List C.

FOR UPDATES

Step 1: Update A to email2@address.com.
- email2@address.com added to C.
- email@address.com remains subscribed to C because of B.

Step 2. Update B to email3@address.com.
- email3@address.com added to C.
- email@address removed from C.

FOR DELETES

Step 1: Delete A.
- email@address.com remains subscribed to C because of B.

Step 2. Delete B.
- email@address removed from C.

Tokens support for Simplenews:

Supported in Simplenews newsletter content types.

Subscribed Node: [simplenews-subscriber][email-field-node]
Subscribed Term: [simplenews-subscriber][email-field-term]
Subscribed User: [simplenews-subscriber][email-field-user]

AttachmentSize
email_field_subscribe_screenshot.png10.83 KB

Project information

Releases