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()
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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠