Skip to content

Commit

Permalink
Add 'from' support to MessageCreateOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Sep 6, 2022
1 parent 9680885 commit 50c0601
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mailosaurCommands.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ export interface MessageCreateOptions {
* The email address to which the email will be sent. Must be a verified email address.
*/
to?: string;
/**
* Allows for the partial override of the message's 'from' address. This **must** be an address ending with `YOUR_SERVER.mailosaur.net`, such as `[email protected]`.
*/
from?: string;
/**
* If true, email will be sent upon creation.
*/
Expand Down

0 comments on commit 50c0601

Please sign in to comment.