Difference between revisions of "Send Email API Function"
From TMM Wiki
Jump to navigationJump to searchTMMStephenY2 (talk | contribs) (Created page with 'The Send Email API Function is a new feature in the NATS Admin API that allows NATS to automatically send emails to members or [[ct#Affiliate|affiliat…') |
TMMStephenY2 (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{NATS4 Manual | ||
+ | | show_api_admin_section = true | ||
+ | }} | ||
+ | |||
The Send Email API Function is a new feature in the [[NATS4_API|NATS Admin API]] that allows NATS to automatically send emails to [[ct#Member|members]] or [[ct#Affiliate|affiliates]]. The function differentiates between members and affiliates based on whether the email uses a member ID number or login ID number as an argument. | The Send Email API Function is a new feature in the [[NATS4_API|NATS Admin API]] that allows NATS to automatically send emails to [[ct#Member|members]] or [[ct#Affiliate|affiliates]]. The function differentiates between members and affiliates based on whether the email uses a member ID number or login ID number as an argument. | ||
Revision as of 15:16, 22 June 2010
The Send Email API Function is a new feature in the NATS Admin API that allows NATS to automatically send emails to members or affiliates. The function differentiates between members and affiliates based on whether the email uses a member ID number or login ID number as an argument.
This function takes into account the following arguments:
- Subject - Define the subject of the email being sent
- Type - Select whether you are sending your email to a member or affiliate.
- Template - The name of the template being used for the email.
- Member ID - The ID number if the email type is a Member email. This argument is required to be defined if the email is being sent to a member.
- Login ID - The ID number if the email type is an Affiliate email. This argument is required to be defined if the email is being sent to an affiliate
- Custom_vars - Indicates a serialized array of custom variables.
Some of these arguments are required in order to send emails through the API:
- Subject, Type, Template, and either Member ID or Login ID must be defined, or your emails will not be sent.