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
9
votes
3 answers

I am trying to send a email in meteor with process.env and smtp gmail

I am using the following to send emails which works on localhost but not my server. // server Meteor.startup(function () { process.env.MAIL_URL="smtp://uername%40gmail.com:password@smtp.gmail.com:465/"; }); I get the follow error in my logs(it…
Anders Kitson
  • 1,413
  • 6
  • 38
  • 98
9
votes
2 answers

Mail API with ability to group messages to a sender by delivery time

For our product we need to be able to schedule email messages for a recipient. Our product also wants to ensure that the recipient doesn't get spammed by too many messages. So, we are looking for an API that allows our product to schedule the…
Shreeni
  • 3,222
  • 7
  • 27
  • 39
9
votes
1 answer

"Server response: 451 451 Temporary local - please try later" when sending email using Mailgun, Laravel and VirtualBox

I am getting the error "Server response: 451 451 Temporary local problem - please try later" when sending password reminder emails via Laravel and Mailgun. I am running Laravel on VirtualBox. I set up VirtualBox using Vagrant, would this have made a…
Michael
  • 4,282
  • 9
  • 55
  • 89
8
votes
2 answers

Cannot convert value of type '[String : String]' to expected argument type 'HTTPHeaders?'

I´m trying to send mail from my iOS app with Mailgun and Alarmofire I found this piece of code but Xcode generates error: Cannot convert value of type '[String : String]' to expected argument type 'HTTPHeaders?' Code: let parameters…
PerNil
  • 187
  • 1
  • 11
8
votes
1 answer

smtp timeout from python client in rancher container

I have a weird issue with no ideas what could be wrong, so maybe writing it here can help me come up with ideas. Or someone can help me :) I have a Django site running in rancher and for past few weeks I noticed emails are not working. Timeout error…
Lucas03
  • 2,267
  • 2
  • 32
  • 60
8
votes
2 answers

Setup Mailgun with Cloudflare subdomain

I'm trying to setup my domain to receive emails through Mailgun and Cloudflare, and i think i'm really closest but can't make it work. In Mailgun, i've all DNS verified: I think the problem is in Cloudflare, configuring the subdomain (that Mailgun…
mauriblint
  • 1,802
  • 2
  • 29
  • 46
8
votes
1 answer

Sending mailgun emails from Cloud Functions for Firebase in an angular 2 app

I am trying to send emails using Mailgun's api from a firebase cloud function. I have tried implementing a nodejs tutorial for the same in the Cloud Function, but I always get "Error: could not handle the request". Please what am I doing…
D_Edet
  • 691
  • 1
  • 8
  • 13
8
votes
4 answers

Laravel on Localhost - Connection could not be established with host smtp.gmail.com [Connection timed out #110]

I am trying to use Mailgun 'driver' => env('MAIL_DRIVER', 'mailgun'), 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'port' => env('MAIL_PORT',…
LeBlaireau
  • 17,133
  • 33
  • 112
  • 192
8
votes
5 answers

Mailgun send mail with attachment

I am trying to send a mail with attachments with mailgun. The mail itself is fine, but it is missing the attachment. Also in the mailgun log it shows up fine, but the attachment array is empty. I replaced my credentials with example.com. The file is…
Vestalis
  • 270
  • 2
  • 4
  • 9
8
votes
2 answers

Using multiple smtp servers with same domain?

I am using MailGun for sending emails and Zoho for receiving emails, which works fine. But then I wanted to enable sending from Zoho to be able to reply to received emails, so I added Zoho spf and DKIM to the domain along with MailGun, which also…
DeepBlue
  • 684
  • 7
  • 23
8
votes
1 answer

How to send a iCal invite with Mailgun Rest API (C#)

I am attempting to add a calendar invite in iCal format to an email sent via the MailGun API. This is what i have so far: var request = new RestRequest(); request.AddParameter("domain", this.domain, ParameterType.UrlSegment); request.Resource =…
elexis
  • 694
  • 7
  • 20
8
votes
2 answers

ruby mailgun send mail fails with 400 bad request

I'm trying out mailgun API with ruby. First thing I did was register an account. I have the api_key and the sandbox domain active. I then add my own email to authorized recipients from the sandbox domain. I did exactly like in the docs: def…
fatg
  • 519
  • 7
  • 23
8
votes
2 answers

Sending HTML emails from Node.JS using MailGun

I send email notifications to my users from my app but currently I only send it as a text. I would like to send it HTML emails which are styled. Currently I tried this: var data = { from: 'my app', to: user.email, …
Skywalker
  • 4,984
  • 16
  • 57
  • 122
8
votes
5 answers

Sending from multiple Mailgun domains using Laravel Mail facade

I'm using the Laravel 4's Mail::queue() to send emails, using the built in Mailgun driver. The problem is that there are multiple Mailgun domains I would like to be able to send emails from, but the domain must be set in app/config/services.php.…
Will Durney
  • 1,168
  • 2
  • 13
  • 16
8
votes
2 answers

Retrieve Attachment from Mailgun Form Post PHP

How do i retrieve and save the attachment sent to me via a form post with Mailgun's POST The following the some of the parameters attachment-1 {:filename=>"crabby.gif", :type=>"image/gif", :name=>"attachment-1",…
CodeGuru
  • 3,645
  • 14
  • 55
  • 99