Not delivering to previously bounced address - Mailgun












1















I'm setting up my Laravel website, and now comes the part where I configure Mailgun to send and receive emails.
I followed different guides to do that, yet I don't feel I'm doing it right. I'm now stuck with this error:
Failed: postmaster@syrianafood.dk → ibrahim_hasan_eng@hotmail.com 'New Order from Ibrahim Hasan' Not delivering to previously bounced address
i.e. Mailgun is not able to deliver my emails. Could you please guide me through this? Thank you!










share|improve this question























  • Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

    – HCK
    Mar 22 '18 at 16:36











  • If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

    – Ying Li
    Mar 22 '18 at 16:37











  • It works well on MailTrap.io.

    – Ibrahim Hasan
    Mar 22 '18 at 16:37
















1















I'm setting up my Laravel website, and now comes the part where I configure Mailgun to send and receive emails.
I followed different guides to do that, yet I don't feel I'm doing it right. I'm now stuck with this error:
Failed: postmaster@syrianafood.dk → ibrahim_hasan_eng@hotmail.com 'New Order from Ibrahim Hasan' Not delivering to previously bounced address
i.e. Mailgun is not able to deliver my emails. Could you please guide me through this? Thank you!










share|improve this question























  • Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

    – HCK
    Mar 22 '18 at 16:36











  • If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

    – Ying Li
    Mar 22 '18 at 16:37











  • It works well on MailTrap.io.

    – Ibrahim Hasan
    Mar 22 '18 at 16:37














1












1








1








I'm setting up my Laravel website, and now comes the part where I configure Mailgun to send and receive emails.
I followed different guides to do that, yet I don't feel I'm doing it right. I'm now stuck with this error:
Failed: postmaster@syrianafood.dk → ibrahim_hasan_eng@hotmail.com 'New Order from Ibrahim Hasan' Not delivering to previously bounced address
i.e. Mailgun is not able to deliver my emails. Could you please guide me through this? Thank you!










share|improve this question














I'm setting up my Laravel website, and now comes the part where I configure Mailgun to send and receive emails.
I followed different guides to do that, yet I don't feel I'm doing it right. I'm now stuck with this error:
Failed: postmaster@syrianafood.dk → ibrahim_hasan_eng@hotmail.com 'New Order from Ibrahim Hasan' Not delivering to previously bounced address
i.e. Mailgun is not able to deliver my emails. Could you please guide me through this? Thank you!







laravel email mailgun






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 '18 at 16:32









Ibrahim HasanIbrahim Hasan

135




135













  • Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

    – HCK
    Mar 22 '18 at 16:36











  • If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

    – Ying Li
    Mar 22 '18 at 16:37











  • It works well on MailTrap.io.

    – Ibrahim Hasan
    Mar 22 '18 at 16:37



















  • Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

    – HCK
    Mar 22 '18 at 16:36











  • If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

    – Ying Li
    Mar 22 '18 at 16:37











  • It works well on MailTrap.io.

    – Ibrahim Hasan
    Mar 22 '18 at 16:37

















Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

– HCK
Mar 22 '18 at 16:36





Try first with a different driver, like MailTrap.io, if the email is sent then the problem is in your Mailgun configuration.

– HCK
Mar 22 '18 at 16:36













If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

– Ying Li
Mar 22 '18 at 16:37





If you think this is a code issue, show us your code; however, I think we can clearly see that it's more of a "email spam filter" issue. If an email bounced, they don't deliver there again.

– Ying Li
Mar 22 '18 at 16:37













It works well on MailTrap.io.

– Ibrahim Hasan
Mar 22 '18 at 16:37





It works well on MailTrap.io.

– Ibrahim Hasan
Mar 22 '18 at 16:37












1 Answer
1






active

oldest

votes


















6














If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.



This is to prevent blacklisting yourself from many of the different MX providers out there.



If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.



You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.



If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.



You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.






share|improve this answer


























  • I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

    – Ibrahim Hasan
    Mar 22 '18 at 17:08











  • @IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

    – Ohgodwhy
    Mar 22 '18 at 17:16











  • I need more reputation points in order to vote for your answer. Thanks a lot!

    – Ibrahim Hasan
    Mar 22 '18 at 17:19











  • @IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

    – Ohgodwhy
    Mar 22 '18 at 17:20






  • 5





    @Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

    – George Miranda
    Aug 15 '18 at 20:29











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49433884%2fnot-delivering-to-previously-bounced-address-mailgun%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.



This is to prevent blacklisting yourself from many of the different MX providers out there.



If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.



You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.



If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.



You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.






share|improve this answer


























  • I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

    – Ibrahim Hasan
    Mar 22 '18 at 17:08











  • @IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

    – Ohgodwhy
    Mar 22 '18 at 17:16











  • I need more reputation points in order to vote for your answer. Thanks a lot!

    – Ibrahim Hasan
    Mar 22 '18 at 17:19











  • @IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

    – Ohgodwhy
    Mar 22 '18 at 17:20






  • 5





    @Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

    – George Miranda
    Aug 15 '18 at 20:29
















6














If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.



This is to prevent blacklisting yourself from many of the different MX providers out there.



If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.



You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.



If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.



You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.






share|improve this answer


























  • I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

    – Ibrahim Hasan
    Mar 22 '18 at 17:08











  • @IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

    – Ohgodwhy
    Mar 22 '18 at 17:16











  • I need more reputation points in order to vote for your answer. Thanks a lot!

    – Ibrahim Hasan
    Mar 22 '18 at 17:19











  • @IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

    – Ohgodwhy
    Mar 22 '18 at 17:20






  • 5





    @Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

    – George Miranda
    Aug 15 '18 at 20:29














6












6








6







If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.



This is to prevent blacklisting yourself from many of the different MX providers out there.



If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.



You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.



If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.



You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.






share|improve this answer















If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.



This is to prevent blacklisting yourself from many of the different MX providers out there.



If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.



You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.



If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.



You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 27 '18 at 23:12

























answered Mar 22 '18 at 16:39









OhgodwhyOhgodwhy

35k63969




35k63969













  • I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

    – Ibrahim Hasan
    Mar 22 '18 at 17:08











  • @IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

    – Ohgodwhy
    Mar 22 '18 at 17:16











  • I need more reputation points in order to vote for your answer. Thanks a lot!

    – Ibrahim Hasan
    Mar 22 '18 at 17:19











  • @IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

    – Ohgodwhy
    Mar 22 '18 at 17:20






  • 5





    @Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

    – George Miranda
    Aug 15 '18 at 20:29



















  • I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

    – Ibrahim Hasan
    Mar 22 '18 at 17:08











  • @IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

    – Ohgodwhy
    Mar 22 '18 at 17:16











  • I need more reputation points in order to vote for your answer. Thanks a lot!

    – Ibrahim Hasan
    Mar 22 '18 at 17:19











  • @IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

    – Ohgodwhy
    Mar 22 '18 at 17:20






  • 5





    @Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

    – George Miranda
    Aug 15 '18 at 20:29

















I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

– Ibrahim Hasan
Mar 22 '18 at 17:08





I changed the email and it worked. However, I'm not sure I understand how to remove the email which got blacklisted.

– Ibrahim Hasan
Mar 22 '18 at 17:08













@IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

– Ohgodwhy
Mar 22 '18 at 17:16





@IbrahimHasan Perform a DELETE request as indicated in my post where <domain> is the domain you're sending from, and <address> is the address you want to remove such as ibrahim_hasan_eng@hotmail.com

– Ohgodwhy
Mar 22 '18 at 17:16













I need more reputation points in order to vote for your answer. Thanks a lot!

– Ibrahim Hasan
Mar 22 '18 at 17:19





I need more reputation points in order to vote for your answer. Thanks a lot!

– Ibrahim Hasan
Mar 22 '18 at 17:19













@IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

– Ohgodwhy
Mar 22 '18 at 17:20





@IbrahimHasan No worries. You can click the checkmark beneathe to accept it as answer. Which will also give you reputation points.

– Ohgodwhy
Mar 22 '18 at 17:20




5




5





@Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

– George Miranda
Aug 15 '18 at 20:29





@Ohgodwhy has explained the correct way to delete the blockage through code. If you can login to mailgun you can also go to Suppressions > Bounces then select the email you want to free up then delete it.

– George Miranda
Aug 15 '18 at 20:29




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49433884%2fnot-delivering-to-previously-bounced-address-mailgun%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks