summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Astle <astl3@yahoo.com>2016-03-08 10:03:26 -0500
committerMike Astle <astl3@yahoo.com>2016-03-08 10:03:26 -0500
commit4d5490e1a13ad008beceeb9eff3d5a6b41f7a930 (patch)
tree1280e9f0644cf0da145660beb735ec7917f51ad7
parente3f286a4d0ca70050136eee8482b6ab4c5032d3e (diff)
downloadphp-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d68aa85..49eae5c 100644
--- a/README.md
+++ b/README.md
@@ -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