NATS3 Mailing Admin

From TMM Wiki
Revision as of 15:43, 16 December 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 3
Mailing Admin
NATS3 Mailing Admin
Email Expired Members
Repeating Email
Member Cancel Emails
Member Chargeback Emails
Member Credit Emails
Member Join Emails
Member Rebill Emails
Mailer Template Variables

Adding Emails to the Remove List

Go to the Remove Lists tab of your Mailing Admin. There is a field for both Webmasters and Members. Add the email to the correct list (one per line) and click Store Lists.

Creating a Monthly Recurring Mail

On the Mailing Admin, create a new mail. When selecting the Send On value, fill in the date number followed by 'of every month'. For example: "1st of every month." The email will now be sent out on this date every month.

Email Opt-out

Affiliates can choose to not receive emails sent by the Mail admin. On the affiliate login screen, the edit link lets affiliates mark the Please Do Not Send Any Mailings To Me option.

When you send an email, use the Send Only option and the email will only be sent to affiliates that want it.

Opt-out Link in Email Body

Add the following link to the bottom of your email to let the affiliate choose not to receive further emails.

Replace domain with your domain.

Member Email Opt-in Checkbox

Let your members choose to receive mails by adding the following code to your join form template:

<input type="checkbox" name="signup[mailok]" value=1 checked>

Smarty Email Error

If you or your affiliates receive an email with the following Smarty error, you created an email without a body. Please fill in the body of all emails.

Warning: Smarty error: unable to read resource: "var:body" in /var/www/nats/Smarty-2.6.7/libs/Smarty.class.php on line 1083

Inserting Linkcodes in Affiliate Email

Insert the following line to insert an affiliate's linkcode into an email.

{$nats_code[program][site]}

Replace program with a program's ID number. Replace site with a site's ID number. If the affiliate isn't in the program you provide, the code will not be printed.

You can also test for the linkcode in an if statement:

{if $nats_code[p][s]}
	statements
{/if}