Including "Recipient Name" when using X-smtpapi with a list of to and substitutions?
In the mail/send API, there is "toname" with an array corresponding to "to" addresses. I'm putting my to addresses in the X-smtpapi and I would like a way to include toname's.
Official
Response
-
In the SMTP API, you just specify it in the "to" value, since we populate that to the To field when we replicate the message. Like so:
{"to" : ["Jacob Lee ", "Ben "]}
-
In the SMTP API, you just specify it in the "to" value, since we populate that to the To field when we replicate the message. Like so:
{"to" : ["Jacob Lee ", "Ben "]} -
-
Thanks! I'll give that a try.
I had tried similar syntax in the from field as
"VirtualTourist"
with the extra double quotes and got back "400 invalid request" (or similar). I have since found the fromname field. So, I did not try this syntax in the "to" field. -
Loading Profile...



Twitter,
Facebook, or email.

EMPLOYEE
