diff options
author | Mike Astle <astl3@yahoo.com> | 2016-03-08 10:03:26 -0500 |
---|---|---|
committer | Mike Astle <astl3@yahoo.com> | 2016-03-08 10:03:26 -0500 |
commit | 4d5490e1a13ad008beceeb9eff3d5a6b41f7a930 (patch) | |
tree | 1280e9f0644cf0da145660beb735ec7917f51ad7 | |
parent | e3f286a4d0ca70050136eee8482b6ab4c5032d3e (diff) | |
download | php-sparkpost-4d5490e1a13ad008beceeb9eff3d5a6b41f7a930.zip php-sparkpost-4d5490e1a13ad008beceeb9eff3d5a6b41f7a930.tar.gz php-sparkpost-4d5490e1a13ad008beceeb9eff3d5a6b41f7a930.tar.bz2 |
docs - identify from as optional when a template is in use
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,7 +109,7 @@ try { | useDraftTemplate | no | Field for allowing the sending of a transmission using a draft of a stored template (default: false) | Boolean | | replyTo | no | Field for specifying the email address that should be used when a recipient hits the reply button | String | | subject | yes | Field for setting the subject line of a given transmission | String | -| from | yes | Field for setting the from line of a given transmission | String or Object | +| from | yes** | Field for setting the from line of a given transmission | String or Object | | html | yes** | Field for setting the HTML content of a given transmission | String | | text | yes** | Field for setting the Plain Text content of a given transmission | String | | rfc822 | no** | Field for setting the RFC-822 encoded content of a given transmission | String | @@ -118,7 +118,7 @@ try { | recipients | yes** | Field for specifying who a given transmission should be sent to | Array of Objects | | recipientList | no** | Field for specifying a stored recipient list ID to be used for a given transmission | String | -** - If using inline content then html or text are required. If using RFC-822 Inline Content, then rfc822 is required. If using a stored recipient list, then recipientList is required. If using a stored template, then template is required. +** - If using inline content then html or text are required. If using RFC-822 Inline Content, then rfc822 is required. If using a stored recipient list, then recipientList is required. If using a stored template, then template is required but from is not as the values from the template will be used. ## Tips and Tricks ### General |