Questions tagged [mailgun]

Mailgun is an online service that provides a set of APIs for sending, receiving, tracking and storing email.

Mailgun is an online service that provides a set of APIs that allow you to send, receive, track and store email.

Features:

  • HTTP API or SMTP interface.

  • Server-side MIME assembly. No libraries required.

  • Live logs and webhook event notifications.

1557 questions
66
votes
4 answers

Mailgun: Messages "Accepted" but taking long time to be delivered (or not being delivered)

I'm using Mailgun for a site I maintain, usually Mailgun works great, but I am encountering a strange problem. My script calls the HTTP API to send messages using Mailgun, these then show up in my log as being "accepted", but then take a very long…
Dom Weldon
  • 1,728
  • 1
  • 12
  • 24
42
votes
7 answers

Sandbox subdomains are for test purposes only. Please add your own domain or add the address to recipients in Account Settings

What does the following Mailgun error response mean when one tries to send a message? Status: 400 Body: {"message": "Sandbox subdomains are for test purposes only. Please add your own domain or add the address to authorized recipients in Account…
flower
  • 989
  • 4
  • 16
  • 34
42
votes
2 answers

Sending Email With Swift

how would you send an email with swift in an app. Like say for example your user want's to reset their password in a social media application with Parse(or not), but you don't wan't to use MessageUI because you want it to be automatic. I've done…
Noah Barsky
  • 507
  • 1
  • 5
  • 5
31
votes
3 answers

Mailgun messages from subdomain without MX record get rejected by some mail-providers

I'd like to use Mailgun to send e-mails from a web application, sending newsletters as well as transactional mails. I set up a sudomain "subdomain.domain.tld" and configured the DNS as specified on the Mailgun panel, except for the (optional) MX…
theister
  • 903
  • 1
  • 8
  • 9
28
votes
5 answers

Removing 'on behalf of' when sending mail using MailGun

I'm trying to figure out how to send mails using the MailGun Golang API without having it sent 'on behalf of'. This is how the From address currently looks (where foo.com is the sender's email domain and bar.com is my…
Bill
  • 25,119
  • 8
  • 94
  • 125
26
votes
4 answers

Set "reply-to" header field for mailgun

Is it possible to set the "reply-to" header field in a Mailgun list? While conversations are sometimes nice, people are getting annoyed at the volume of mail from one particular list, in which respondents ignore the instruction to send the message…
James C
  • 427
  • 1
  • 6
  • 14
25
votes
2 answers

Send email from my custom mailgun SMTP address

Sorry if I have not understood something but (I believe) I have searched enough for this. First things first: I have successfully set up my domain (mydomain.gr) which has been verified. I have created a custom SMTP address (contact@mydomain.gr).…
nik_m
  • 11,825
  • 4
  • 43
  • 57
25
votes
3 answers

Sending emails using Mailgun with NodeMailer package

A couple of days ago I realized that Google has changed the security of gmail accounts, particularly for the possibility of sending emails from applications. After Googling around for a while I couldn't find a fix for it. So, I resorted to using…
joque
  • 813
  • 2
  • 9
  • 14
24
votes
3 answers

Hotmail rejecting all emails using Mailgun or SparkPost

I have been trying to send mail using Laravel. I have been successful in integrating Mailgun/SparkPost in my application. It is sending mail to every other domain except for Hotmail/Outlook/MSN/Live. Somehow they are saying that the IP I am trying…
Syed Abdur Rehman Kazmi
  • 1,640
  • 3
  • 13
  • 30
24
votes
7 answers

Mailgun domain not found: example.com

I am trying to setup emails with my own website. Let's say the domain name is example.com. The name server in use is digital ocean and I also have a gmail account linked to the same (say using contact@example.com). While setting up things with…
sudshekhar
  • 1,576
  • 3
  • 18
  • 31
21
votes
4 answers

Is DMARC the end of email forwarding?

I'm using a fair bit of email forwarding on a number of domains and the latest p=reject policy of AOL is causing me some problems and also a lot of confusion. My understanding of DMARC is that it's based on DKIM & SPF with a reporting layer. I…
user2988743
  • 337
  • 1
  • 2
  • 7
21
votes
4 answers

How to send and receive emails in mailgun (configured for a subdomain) from the root domain

Mailgun recommends creating DNS (TXT, MX,..) records for a subdomain, but states sending and receiving with the root domain is possible by later configuration. I created all necessary steps for mail.example.com at my registrar and at Mailgun (adding…
solimanelefant
  • 546
  • 1
  • 5
  • 17
20
votes
2 answers

How to send out HTML email with mailgun?

after failed to find a solution for my problem in the mailgun documentation, I will explain what I'm looking for. Today I'm using phpList to send out my newsletter (It works perfect!), I have HTML pages that I just include in the phpList application…
devasia2112
  • 5,844
  • 6
  • 36
  • 56
19
votes
3 answers

Where is the RestRequest class?

In the C# tab of the getting started of maingun API, I find the following code. public static RestResponse SendSimpleMessage() { RestClient client = new RestClient(); client.BaseUrl = "https://api.mailgun.net/v2"; …
Samuel Rossille
  • 18,940
  • 18
  • 62
  • 90
17
votes
7 answers

Mailgun - 401 forbidden

I try to send a email message by using mailgun. I use node.js (nest.js) and this is my mail service. What should I change? When I try to send first email (description in mailgun official website) I got the same error message. import { Injectable }…
Pawel
  • 427
  • 2
  • 7
  • 15
1
2 3
99 100