sto cercando di inviare e-mail utilizzando il servizio di posta elettronica mandrillo ma ottengo il seguente errore:Mandrillo "reject_reason": "unsigned"
[
{
"email": "[email protected]",
"status": "rejected",
"_id": "daab0daa538a4fe9b161be709593be0b",
"reject_reason": "unsigned"
}
]
Sto cercando di inviare e-mail utilizzando chiamata AJAX in JavaScript come:
$.ajax({
type: "POST",
url: "https://mandrillapp.com/api/1.0/messages/send.json",
data: {
"key": "RemovedforSecurityitscorrect",
"message": {
"html": "<p>Example HTML content</p>",
"text": $('#emailText').val(),
"subject": $('#emailSubject').val(),
"from_email": $('#fromEmail').val(),
"from_name": $('#fromName').val(),
"to": [{
"email": $('#toEmail').val(),
"name": $('#recipientName').val(),
"type": "to"
}],
"headers": {
"Reply-To": $('#fromName').val()
}
},
success: function (data) {
console.log("Email Sent");
},
error: function (xhr, status, error) {
console.log("Error while sending mail");
}
}
});
tutti i valori vengono a chiamata ajax & chiamata si effettua al server evidente dalla risposta. Cosa può essere un problema?
Eventuali duplicati di [mandril Reject Motivo: unsigned] (http://stackoverflow.com/questions/37492052/mandril-reject-reason-unsigned) – boroboris