From 50c0601f31fe858659ad08a488505fb204b860a5 Mon Sep 17 00:00:00 2001 From: Jon M Date: Tue, 6 Sep 2022 12:55:08 +0100 Subject: [PATCH] Add 'from' support to MessageCreateOptions --- src/mailosaurCommands.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mailosaurCommands.d.ts b/src/mailosaurCommands.d.ts index db34630..5d19871 100644 --- a/src/mailosaurCommands.d.ts +++ b/src/mailosaurCommands.d.ts @@ -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 `my-emails@a1bcdef2.mailosaur.net`. + */ + from?: string; /** * If true, email will be sent upon creation. */