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;
|
|
|
|
}
|