Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1144 from sendgrid/mbernier-patch-3
Browse files Browse the repository at this point in the history
Updated description for mail.send
  • Loading branch information
Matt Bernier committed Jun 2, 2015
2 parents 6348458 + 4601745 commit a3e33ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/API_Reference/Web_API/mail.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SendGrid's [API Keys]({{root_url}}/User_Guide/Account/api_keys.html) should be u
Send email.

{% parameters mail %}
{% parameter 'to' 'Yes' 'Must be a valid email address' 'This can also be passed in as an array, to send to multiple locations. Example: to[]=[email protected][]=[email protected]. Note that recipients passed in this parameter will be visible as part of the message. If you wish to hide the recipients, use the TO parameter in the [x-smtpapi]({{root_url}}/API_Reference/SMTP_API/index.html) header.' %}
{% parameter 'to' 'Yes' 'Must be a valid email address' 'This can also be passed in as an array, to send to multiple locations. Example: to[]=[email protected]&to[]=[email protected]. Note that recipients passed in this parameter will be visible as part of the message. If you wish to hide the recipients, use the TO parameter in the [x-smtpapi]({{root_url}}/API_Reference/SMTP_API/index.html) header.' %}
{% parameter 'toname' 'No' 'Must be a string. If *to* parameter is an array, *toname* must be an array with the exact number of array elements as the *to* field' 'Give a name to the recipient. This can also be passed as an array if the to above is an array. Example: toname[]=Alpha[]=Beta.' %}
{% parameter 'x-smtpapi' 'No' 'Must be in valid JSON format' 'Please review the [SMTP API]({{root_url}}/API_Reference/SMTP_API/index.html) to view documentation on what you can do with the JSON headers' %}
{% parameter 'subject' 'Yes' 'Must be a valid string' 'The subject of your email' %}
Expand Down

0 comments on commit a3e33ea

Please sign in to comment.