4 MINDS

Sistema para Gestão de Conhecimento

Amazon Simple Mail Service - especial characters




Subject with especial characters:


def subject = "Novo usuário criado".bytes.encodeBase64().toString()
def fromName = "João".bytes.encodeBase64().toString()

def data = [
  subject: "=?utf-8?B?${subject}?=",
  body: 'test',
  fromName: "=?utf-8?B?${fromName}?=",
  from: "suporte@mobilemind.com.br",
  to: "comercial@mobilemind.com.br",
  application: "4GYM"
]

Use: =????=

https://stackoverflow.com/questions/21876157/special-characters-in-amazon-ses