I was reading this Web api mail page. It seems that we can include the smpt api as x-smtpapi parameter.
My question is, if we store all recipient address in the x-smtpapi parameter, do we still need to specify them in the 'to' parameter?
Or is the x-smtpapi parameter used where the web api fall short? Example to include unique args for the mails?
Which brings me to another question, can I have a unique argument for each recipient in a post that sends to multiple recipients?
-
Yes, the x-smtpapi parameter is designed to fill the spots that webapi does not.
If you're using webapi, you should populate the webapi's "to" field, not the x-smtpapi parameter's.
unique_args will apply to each message in that "send", and can't be assigned a 1:1 relationship with the to addresses. For that, you'd need to send a unique request for each address, which is perfectly acceptable. -
-
-
Loading Profile...



Twitter,
Facebook, or email.

EMPLOYEE
