Email is blank on Apple Email Client (Mail app)

0

I am sending notification emails through ses(aws) and I am able to view the message build with html on gmail app but on apple mail client the message is blank.

    let message = JSON.parse(singleMessage.body);
            let params = {
                Destination: {
                    ToAddresses: message.toAddresses,
                },
                Message: {
                    Body: {
                        Html: {
                            Charset: "UTF-8",
                            Data: message.body,
                        },
                    },
                    Subject: {
                        Charset: "UTF-8",
                        Data: message.subject,
                    },
                },
                Source: environments.EmailSender,
            };
ses.sendEmail(params).promise()
Anser
已提問 9 個月前檢視次數 204 次
1 個回答
0

Are you able to view the message source in gmail and check that the html is correctly formatted?

There could be an issue with the way the html is formatted. Missing opening and close of html tags.

profile picture
專家
已回答 9 個月前
  • @Gary Mclean I checked it there is no breakage, I forwarded an email from which I received from ses and I checked in Apple Mail app I am able to view the message but some of the CSS stuff are missing

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南

相關內容