Mandrill "reject_reason": "unsigned"

I am trying to send email using the mandrill mail service, but I am getting the following error:

[ { "email": " pranav_withyou@hotmail.com ", "status": "rejected", "_id": "daab0daa538a4fe9b161be709593be0b", "reject_reason": "unsigned" } ] 

I am trying to send an email using ajax call in javascript, for example:

  $.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"); } } }); 

all values ​​go to an ajax call, and the call is made on the server, obvious from the answer. What could be the problem?

+5
source share
1 answer

I have a reason, it was a stupid mistake. I tried to send mail through my personal email id, which is in a different domain than the one for which Mandrill is configured and verified.

Looking for the cause of the error, I found that this error is sent from Mandrill when Mail sent from unverified domains or domains without valid SPFs and DKIM records are rejected using reject_reason, unsigned .

enter image description here

For more information see

To make the required SPF and DKIM settings for Mandrill, contact:

https://mandrill.zendesk.com/hc/en-us/articles/205582277-How-do-I-add-DNS-records-for-my-sending-domains-

+9
source

All Articles