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
asked 9 months ago195 views
1 Answer
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
EXPERT
answered 9 months ago
  • @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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions