# Emails are continuously sent to rejected emails

**URL:** <https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401>\
**Category:** Product Support\
**Created:** [September 24, 2015, 5:16am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401 "2015-09-24T05:16:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tudor](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tudor](https://forum.mautic.org/u/tudor)\
**Post date:** [September 24, 2015, 5:16am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/1 "2015-09-24T05:16:06Z")

</div>

I just created some leads to test a campaign and deliberately insert some with bad email address.  
  
  
  
I’m using Mandrill and emails are sent well, exept for those rejected, witch Mautic are keep sending them to Mandrill.  
  
  
  
in my logs:  
  
[2015-09-23 16:50:04] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
[2015-09-23 16:51:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
[2015-09-23 16:52:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
[2015-09-23 16:53:02] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
[2015-09-23 16:54:02] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
[2015-09-23 16:55:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
  
  
  
and in my mandrill account:  
  
Rejected  
  
Sep 23, 2015 8:05 pm tudor@…ro tr@…ro Template …0 0 Rejected  
  
Sep 23, 2015 7:58 pm tudor@…ro tr@…ro Template …0 0 Rejected  
  
Sep 23, 2015 7:57 pm tudor@…ro tr@…ro Template …0 0 Rejected  
  
Sep 23, 2015 7:56 pm tudor@…ro tr@…ro Template …0 0 Rejected  
  
  
  
Any suggestion on how a lead can be marked if the email address is not good?  
  
  
  
Regards  
  
Tudor

---

<div class="post-metadata">

**Author:** ![tudor](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tudor](https://forum.mautic.org/u/tudor)\
**Post date:** [September 24, 2015, 5:16am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/2 "2015-09-24T05:16:06Z")

</div>

I just created some leads to test a campaign and deliberately insert some with bad email address.

I’m using Mandrill and emails are sent well, exept for those rejected, witch Mautic are keep sending them to Mandrill.

in my logs:  
[2015-09-23 16:50:04] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
[2015-09-23 16:51:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
[2015-09-23 16:52:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
[2015-09-23 16:53:02] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
[2015-09-23 16:54:02] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []  
[2015-09-23 16:55:03] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients Log data: \<\< \<\< tr@…ro =\> rejected [] []

and in my mandrill account:  
Rejected  
Sep 23, 2015 8:05 pm tudor@…ro tr@…ro Template …0 0 Rejected  
Sep 23, 2015 7:58 pm tudor@…ro tr@…ro Template …0 0 Rejected  
Sep 23, 2015 7:57 pm tudor@…ro tr@…ro Template …0 0 Rejected  
Sep 23, 2015 7:56 pm tudor@…ro tr@…ro Template …0 0 Rejected

Any suggestion on how a lead can be marked if the email address is not good?

Regards  
Tudor

---

<div class="post-metadata">

**Author:** ![tudor](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tudor](https://forum.mautic.org/u/tudor)\
**Post date:** [September 24, 2015, 7:10am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/3 "2015-09-24T07:10:57Z")

</div>

here is api log from mandrill:

> [@](#):
>
> …  
> “recipient\_metadata”: [  
> {  
> “rcpt”: “tr@cauti.ro”,  
> “values”: {  
> “leadId”: 69,  
> “emailId”: 4,  
> “hashId”: “5602d965ef2e7”,  
> “source”: [  
> “campaign”,  
> 2  
> ]  
> }  
> }  
> ]  
> }  
> }  
> Full Response  
> [  
> {  
> “email”: “tr@cauti.ro”,  
> “status”: “rejected”,  
> “\_id”: “f5adb8351f7f454290ead097c73f87ce”,  
> “reject\_reason”: “hard-bounce”  
> }  
> ]

---

<div class="post-metadata">

**Author:** ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)\
**Post date:** [September 24, 2015, 8:03am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/4 "2015-09-24T08:03:49Z")

</div>

You should add url [http://domain.tld/mailer/mandrill/callback](http://domain.tld/mailer/mandrill/callback) to Mandrill Settings/ Webhooks.  
Afterthat Mautic will know about bounce/spam/not received emails.

---

<div class="post-metadata">

**Author:** ![tudor](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tudor](https://forum.mautic.org/u/tudor)\
**Post date:** [September 24, 2015, 8:21am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/5 "2015-09-24T08:21:37Z")

</div>

Hi Kuzmany, thx for answer, but I did that, here is the log from webhook events:

Webhooks Batches for http://…/mailer/mandrill/callback  
Batch Date # Of Events Status   
Sep 23, 2015 8:05 pm 1 Completed at Sep 23, 2015 8:21 pm  
Sep 23, 2015 7:58 pm 1 Completed at Sep 23, 2015 7:58 pm  
Sep 23, 2015 7:57 pm 1 Completed at Sep 23, 2015 7:57 pm

It seams that /mailer/mandrill/callback module those not update the leads

but also when sending email the response is:

[quote]…  
“recipient\_metadata”: [  
{  
“rcpt”: “tr@…ro”,  
“values”: {  
“leadId”: 69,  
“emailId”: 4,  
“hashId”: “5602d965ef2e7”,  
“source”: [  
“campaign”,  
2  
]  
}  
}  
]  
}  
}  
Full Response  
[  
{  
“email”: “tr@…ro”,  
“status”: “rejected”,  
“\_id”: “f5adb8351f7f454290ead097c73f87ce”,  
“reject\_reason”: “hard-bounce”  
}  
]  
[/quote]

and neither there sending module does not update the leads even the response is “rejected”

Am I right?

Regards  
Tudor

---

<div class="post-metadata">

**Author:** ![tudor](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tudor](https://forum.mautic.org/u/tudor)\
**Post date:** [September 26, 2015, 1:49pm UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/6 "2015-09-26T13:49:21Z")

</div>

I’m trying to set up the Mandrill web hook but the URL [Myinstall]/mailer/mandrill/callback reports as 'we could not verify the URL when I try to set it up in Mandrill.

when i try to open the URL [Myinstall]/mailer/mandrill/callback it display “success” but it seems that mandril coud not reach it.

Any ideas?  
thank you

---

<div class="post-metadata">

**Author:** ![karibu](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@karibu](https://forum.mautic.org/u/karibu)\
**Post date:** [September 29, 2015, 8:44am UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/7 "2015-09-29T08:44:07Z")

</div>

Hi, I got similar issue with Amazon SES, (I’m not getting the Bounce information).

Any way for me to do it? (Actually my mailbox is with OVH but I send the mail with Amazon SES, and OVH is not forwarding me the bounce by email neither)

Hope we can plug amazon directly.

Thank you

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:58pm UTC](https://forum.mautic.org/t/emails-are-continuously-sent-to-rejected-emails/2401/8 "2020-02-02T22:58:10Z")

</div>

Closed on February 2, 2020, 10:58pm UTC


