Send email
From ePrize Developers Wiki
(Difference between revisions)
Line 4: | Line 4: | ||
friendName: {friend-name} | friendName: {friend-name} | ||
friendEmail: {friend-email} | friendEmail: {friend-email} | ||
- | </pre> | ||
The prize and friend keys are optional, but if the template requires them, the request may fail. | The prize and friend keys are optional, but if the template requires them, the request may fail. |
Revision as of 06:29, 3 March 2009
Request representation: profile: {profile}, prize: {prize}, friendName: {friend-name} friendEmail: {friend-email} The prize and friend keys are optional, but if the template requires them, the request may fail. Response: 200 OK Response on invalid or missing fields: 400 Bad Request Response if limit reached or security violation: 403 Forbidden
Email templates must conform to ePrize standards. Client defined templates are not supported. In addition, email delivery limits are enforced by ePrize and are not under client control. This API is a request to deliver an email, not a guaranteed email delivery system.
The valid {template-id}s at launch are: reg, win, and taf.