-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'from' support to MessageCreateOptions
- Loading branch information
1 parent
9680885
commit 50c0601
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
*/ | ||
|