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
11
votes
5 answers

Verified email not sending through Heroku/Mailgun

I have Rails app on Heroku. It has a custom domain, and I've tried to set up email sending through Mailgun. I've installed Mailgun as an add-on through Heroku, and I've gone through the steps Mailgun gives to "verify" my custom domain. If I run…
lostphilosopher
  • 4,361
  • 4
  • 28
  • 39
11
votes
1 answer

How to send mail only to bcc with mailgun php API?

I am trying to send mail only to Bcc but unable to send. Code given below is working fine with To and Bcc but when i try to send only with Bcc it fails. I tried passing empty string with To but didnt work. I am using mailgun php API. function…
niteshd22
  • 510
  • 4
  • 15
10
votes
5 answers

Laravel - No emails sending using mailgun

Server: Digital Ocean Ubuntu 16.04 Laravel 5.8 I cannot get email to send out of laravel using mailgun.com In Digital Ocean I have all outgoing ports open on the firewall, I have the correct DNS settings in Digital ocean for TXT and MX records. I…
Chad Priddle
  • 650
  • 2
  • 15
  • 32
10
votes
1 answer

BCC in Mailgun Batch Send does not include substitutions

I am sending a set of email messages via Mailgun using the Batch Sending feature of their API, with a call like this: rv = requests.post( "https://api.mailgun.net/v3/%s/messages" % mailgun_domain, auth=("api", mailgun_key), data={"from":…
Scott Hunter
  • 48,888
  • 12
  • 60
  • 101
10
votes
1 answer

Curl error: option-less arguments found

I'm trying to import this example into postman curl -s --user 'api:YOUR_API_KEY' \ https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \ -F from='Excited User ' \ -F to=YOU@YOUR_DOMAIN_NAME \ -F…
Noman
  • 887
  • 1
  • 15
  • 34
10
votes
1 answer

Mailgun, receive mail on root domain and not just subdomain

I created a subdomain for Mailgun, mail.example.com, and added all the DNS settings they told me to add (TXT, CNAME, MX). After adding the MX records on mail.example.com I added a route in the Mailgun settings which catches mail coming to…
himmip
  • 1,360
  • 2
  • 12
  • 24
10
votes
1 answer

AJAX function w/ Mailgun, getting "ERROR Request header field Authorization is not allowed by Access-Control-Allow-Headers"

I'm working on making an AJAX call that hit the Mailgun API to send email. Documentation on Mailgun says that post requests should be made to "https://api.mailgun.net/v3/domain.com/messages". I've included my api key as specified by mailgun (they…
DanielleCS
  • 121
  • 1
  • 4
10
votes
2 answers

Sending Mailgun Inline Images in HTML using Python Requests library

I am having trouble working out how I can send multiple inline messages using the Mailgun api, from a Python app using the requests library. Currently I have (using jinja2 for templates and flask as the webframework, hosted on Heroku): def…
Piers Lillystone
  • 257
  • 1
  • 5
  • 10
9
votes
2 answers

During post request on send email API of mailgun it shows error using java web application

I am using mailgun to send email but from last day it shows error during POST request on email send api as below.I am using java/spring/AWS to my web app.I tried to restart app and to check if certificate is already in the trust store but we never…
Santosh Silwal
  • 475
  • 1
  • 4
  • 10
9
votes
3 answers

How can I add an unsubscribe link in a single email with Mailgun using SMTP?

I am having trouble figuring out how to put an unsubscribe link in my email that is SMTP integrated with Mailgun. Any thoughts?
Wes Ferrell
  • 91
  • 1
  • 4
9
votes
2 answers

DKIM clash between Mailgun and MailChimp

I have both a MailChimp and Mandrill account and for obvious reasons, I'm migrating from Mandrill to Mailgun, but keeping MailChimp for now. MailChimp requires the following DKIM record (CNAME): k1._domainkey.example.com -> dkim.mcsv.net Mailgun…
Steve
  • 8,066
  • 11
  • 70
  • 112
9
votes
1 answer

Mailgun for Rails Application

At the moment I am working on implementing Mailgun into my rails application but I seem to be confused as to the best method. The way I have already implemented is to setup the areas, add the gemfile and then setup the background processor through…
Joe Dayvie
  • 304
  • 3
  • 14
9
votes
1 answer

What is the best way to send the original email message quoted in a response?

Should I prepend all lines with '> '? Is that sufficient? Will it be accepted and understood by all major email clients? In this case will a original.replace(/\n/g, '\n> ') regex replacement do what I want with the message? What about the HTML…
fiatjaf
  • 11,479
  • 5
  • 56
  • 72
9
votes
3 answers

Java REST Mailgun

I am trying to take advantage of Mailgun's Transactional Email Service via their RESTful API, but I can not make it work. I am able to send emails via SMTP but i prefer to use their API. Their documentation provides me with the following…
user3586514
  • 123
  • 1
  • 2
  • 4
9
votes
6 answers

Sending Email with mailgun in laravel error

Hello i've been simply trying to send an email in laravel i read the documentation and they made it seem so easy but whenever i try i keep getting error after error, i tried sendgrid didn't work and now i'm trying to use mailgun but i'm having…
user3718908x100
  • 7,939
  • 15
  • 64
  • 123