mailgun/ts/interfaces/message.ts

31 lines
705 B
TypeScript
Raw Normal View History

2020-01-13 08:09:37 +00:00
export interface IMailgunMessage {
Received: string;
From: string;
'X-Envelope-From': string;
recipients: string;
'X-Google-Dkim-Signature': string;
To: string;
'message-headers': [[string, string]];
'Dkim-Signature': string;
'content-id-map': any;
subject: 'test2';
'stripped-html': string;
'X-Mailgun-Incoming': 'Yes';
'X-Received': string;
'X-Gm-Message-State': string;
'body-plain': string;
attachments: Array<{
2020-01-21 10:07:07 +00:00
url: string;
'content-type': string;
name: string;
size: number;
}>;
2020-01-13 08:09:37 +00:00
'body-html': string;
'Mime-Version': string;
2020-01-21 10:07:07 +00:00
Date: string;
2020-01-13 08:09:37 +00:00
'Message-Id': string;
'Content-Type': string;
'X-Google-Smtp-Source': string;
Subject: string;
}