From bc27a9bcb7558c53dbabcc176e4e3b043c780b92 Mon Sep 17 00:00:00 2001 From: Lennox Charles Date: Wed, 20 Nov 2024 23:24:55 +0100 Subject: [PATCH] feat: add undocumented options of send * Update send-helper.md This fixes #33 * Update send-helper.md I made the correction you requested and also added another value to send, I just made use of it. --- docs/mail/send-helper.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/mail/send-helper.md b/docs/mail/send-helper.md index 58b059e..b100022 100644 --- a/docs/mail/send-helper.md +++ b/docs/mail/send-helper.md @@ -59,6 +59,22 @@ The name of the primary recipient sails.helpers.mail.send.with({ toName: 'Jack Sparrow' }) ``` +## cc + +The email addresses to send a carbon copy of the mail to. + +```js +sails.helpers.mail.send.with({ cc: ['jack@blackpearl.com'] }) +``` + +## bcc + +The email addresses to send a blind carbon copy of the mail to. + +```js +sails.helpers.mail.send.with({ cc: ['jack@blackpearl.com'] }) +``` + ## subject The subject of the email.