Mail

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (15:17, 20 April 2011) (edit) (undo)
 
(One intermediate revision not shown.)
Line 1: Line 1:
-
{{Logo}}
+
Send a predefined email to a user.
-
TODO: explain mail delivery and the headers we enforce. reveal Exact Target? explain templated send model.
+
 
 +
These emails must be configured with your [[API Key]]. There are 3 types of emails that can be sent. The values for {template-id} are:
 +
 
 +
* win
 +
* reg
 +
* taf
 +
 
 +
'win' is a win email. This will required a prize parameter in the request. 'taf' is a tell-a-friend email and will require the friend values in the request. 'reg' is a registration thank you email. All email will require the profile parameter to be sent.
 +
 
 +
<div class="api_table">
 +
{|
 +
|-
 +
| [[Send email]]
 +
| POST
 +
| /v1/{apikey}/email/{template-id}
 +
|-
 +
|}
 +
</div>

Current revision

Send a predefined email to a user.

These emails must be configured with your API Key. There are 3 types of emails that can be sent. The values for {template-id} are:

  • win
  • reg
  • taf

'win' is a win email. This will required a prize parameter in the request. 'taf' is a tell-a-friend email and will require the friend values in the request. 'reg' is a registration thank you email. All email will require the profile parameter to be sent.

Send email POST /v1/{apikey}/email/{template-id}
Personal tools