Home > Uncategorized > SMTPJS.com now supports #BCC in #Javascript #Email

SMTPJS.com now supports #BCC in #Javascript #Email

smtpjs

SMTPJs.com is a Javascript library for sending email from client-side Javascript (not node), it offers plenty of features for sending email, but one was missing until this morning, the ability to send BCC emails. (Blind Carbon-Copy)

It’s used just like the “To” field as follows

 Email.send({
            SecureToken : “…..”,
            To : [“salesguy@gmail.com“, “boss@gmail.com“] ,
            Bcc : [“private_admin@hotmail.com“, “Auditors@private.es“],
If Bcc is sent as an array, it can send to multiple addresses, or can be just a string, if you just want to send to one BCC.
Happy mailing …
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment