mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-13 08:26:54 +02:00
Added Mimecast as mail provider
This commit is contained in:
parent
195577fe0c
commit
e77075764e
@ -54,6 +54,11 @@ const handler = async (url, event, context) => {
|
|||||||
if (yahooMx.length > 0) {
|
if (yahooMx.length > 0) {
|
||||||
mailServices.push({ provider: 'Yahoo', value: yahooMx[0].exchange });
|
mailServices.push({ provider: 'Yahoo', value: yahooMx[0].exchange });
|
||||||
}
|
}
|
||||||
|
// Check MX records for Mimecast
|
||||||
|
const mimecastMx = mxRecords.filter(record => record.exchange.includes('mimecast.com'));
|
||||||
|
if (mimecastMx.length > 0) {
|
||||||
|
mailServices.push({ provider: 'Mimecast', value: mimecastMx[0].exchange });
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
mxRecords,
|
mxRecords,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user