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
preguntada hace 9 meses204 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 9 meses
  • @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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas