Skip to content

Commit

Permalink
feat: add undocumented options of send
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
lennyAiko authored Nov 20, 2024
1 parent a91ab66 commit bc27a9b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/mail/send-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['[email protected]'] })
```

## bcc

The email addresses to send a blind carbon copy of the mail to.

```js
sails.helpers.mail.send.with({ cc: ['[email protected]'] })
```

## subject

The subject of the email.
Expand Down

0 comments on commit bc27a9b

Please sign in to comment.