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
posta 9 mesi fa204 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 9 mesi fa
  • @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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande