Questions tagged [mailgun]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
76 views

MeteorJS passwordless email authentication sends a link pointing to the specific server instead of domain name

I am using MeteorJS passwordless authentication, Cloudflare for DNS, Mailgun as an email server, and Nodechef for app hosting: https://docs.meteor.com/packages/accounts-passwordless Whenever a user ...
theredtexan's user avatar
0 votes
0 answers
11 views

Suddenly getting connection timeout from my server

I have been using Mailgun for a while and it worked just fine. Suddenly the connection stopped working, with a connection timeout to api.mailgun.net I send a small amount of normal emails (around 4k ...
Álvaro Franz's user avatar
0 votes
2 answers
35 views

Why am I getting unauthorized error from Mailgun?

I'm trying to get start with Mailgun but i'm getting the error: [Error: Unauthorized] { status: 401, details: 'Forbidden', type: 'MailgunAPIError' } is this some user's settings? I did copy both ...
Coder's user avatar
  • 49
0 votes
0 answers
30 views

Mailgun Showing Variable Names as it is Ruby on Rails

I have a template field in my object in which i store the whole email template and store it like below "<p> <span style=\"font-family: -apple-system, system-ui, &quot;Segoe ...
Vishwani patlan's user avatar
0 votes
0 answers
20 views

Two Heroku apps w/ domain and subdomain in Godaddy for Mailgun verification

I can't find anything about this particular issue after searching a while so I'm at the point where I think I might be going about it the wrong way. My understanding of DNS is not great so I might ...
elements's user avatar
  • 1,057
0 votes
1 answer
199 views

How to validate an email in Java code using Mailgun from a domain present in EU?

I have a piece of code in Java to verify an email: MailgunEmailVerificationApi mailgunEmailVerificationApi = MailgunClient.config("https://api.eu.mailgun.net/", "...
Nuñito Calzada's user avatar
0 votes
0 answers
57 views

Webhook response in Mailgun returns a forbidden code

I have configured a test web hook in Mailgun to send to PipeDream RequestBin. When I test the web hook it works fine, gives a response, gets 200 back. I have now changed the endpoint to be my own PHP ...
TIW DEV's user avatar
  • 107
0 votes
0 answers
192 views

Send email via Nodemailer in NestJs with html template that is uploaded in Mailgun

I have this very simple template uploaded to my HTML templates at mailgun <!DOCTYPE html> <html> <head> <title>Your Email</title> </head> <body> ...
Iraklis Bekiaris's user avatar
0 votes
2 answers
17 views

How to not send sms or emails when running mocha test suite

I'm running end-to-end tests with Mocha, but I do not want SMS or emails to be sent by the test suite. What is the best practice for skipping over these functions if testing, and running them when in ...
ajbraus's user avatar
  • 2,919
0 votes
1 answer
56 views

Mailgun EU domain throws 401 in Node.js

I am integrating mailgun eu domain but I don't know why the eu domain is not working in my node.js application. My mailgun domain is also verified. When I try to create a message using the mailgun api ...
Sanket Jariwala's user avatar
0 votes
0 answers
16 views

GEnerate and send images with text value as pdf using mailgun and mern

Hi I have an mern app where user inserts data into a frontend, they also select images I want the data that they pass into the fields to be applied into a pdf template along with the selected images ...
Nic Nic's user avatar
2 votes
1 answer
69 views

Attach a file to an email while sending it using an API

I am using this API to send email using amazon lambda. https://documentation.mailgun.com/en/latest/api-sending.html This works as expected, but I am not able to send an attachment. def handler(event,...
shantanuo's user avatar
  • 31.7k
0 votes
1 answer
52 views

Mailgun's Handlebar implementation: string comparison in "if" without extra helpers

Using Mailgun's Handlebars implementation I'd like to have multi-language templates. I.e. wrap each text block in a condition and display the language passed as parameter. Now for the crucial part: If ...
cis's user avatar
  • 1,263
0 votes
1 answer
33 views

Python Mailgun Question - 500 Internal Server Error

I am just learning Python and VS code and am in training. Per Mailgun documentation, I have created a sendmail script (app.py) using Python: def send_simple_message(): return requests.post( "...
Tikhon's user avatar
  • 945
0 votes
1 answer
222 views

SMTP server unexpectedly disconnected error when sending emails using mailgun service and MailKit in ASP.NET Core

I'm facing an issue when trying to send emails using the MailKit library in an ASP.NET Core application. The emails are sent successfully on my local machine, but when I deploy the application to a ...
Muhammad Zahid's user avatar
-1 votes
1 answer
81 views

how to get response from email using Laravel

I am sending an email to a user using Mail. public function sendEmail($post, $contactEmail) { Mail::to($contactEmail)->send(new EmailAboutNewPost($post)); } How can I get the user'...
dev_2108's user avatar
0 votes
0 answers
84 views

How to check if mailgun api is working correctly before sending emails and log errors from the api

I am using Mailgun PHP API to send emails using the code below $senderEmail="no-reply@".MAILING_URL; //configure mail gun to use guzzle http client $client = new \GuzzleHttp\Client(); $...
Joe Nyambura's user avatar
0 votes
1 answer
50 views

ActionMailer::MailDeliveryJob can't load class but class can load in console

Getting the following error when calling a class during a ActionMailer::MailDeliveryJob performing in background: [ActiveJob] [ActionMailer::MailDeliveryJob] [f158adfd-e4ac-4b0c-9c9b-5c4076f659d1] ...
Julien Lamarche's user avatar
0 votes
1 answer
60 views

Not able to set the mailgun key and user name setup

I have Mailgun settings configuration in my database. All I want to the Mailgun Client key, username, and email should be fetched from the database before any mail goes to the client. But I cannot set ...
Narayan Maity's user avatar
0 votes
0 answers
39 views

Laravel - Emails with mailgun (on behalf of into) problem

I'm using mailgun to send emails via Laravel API. The emails are ok, I can send emails. But I noticed that when I receive an email it arrives with some strange message: info=reporter.com@email....
Erbi Silva's user avatar
0 votes
0 answers
23 views

How can I generate a DKIM signature for my domain when using a vendor's mailgun account?

We work with a company that uses mailgun to send emails from their software. This then causes emails sent from mailgun to look like they are coming from our organization, parksville.ca. Do I have to ...
Kshaeta's user avatar
0 votes
0 answers
69 views

Why am I getting unauthorized in response?

I'm adding a new contact to my contact list and I've followed this example: from mailjet_rest import Client import os api_key = os.environ['MJ_APIKEY_PUBLIC'] api_secret = os.environ['...
Mark's user avatar
  • 1,405
1 vote
2 answers
339 views

How to configuring Mailgun for NextAuth

I am trying to use Mailgin as Email provider uses email to send "magic links" that can be used to sign in. import clientPromise from "@/app/lib/connectDb"; import NextAuth from &...
Ben Jonson's user avatar
0 votes
1 answer
116 views

How to delete a mail from Mailgun API domain queue?

I'm writing a module in PHP Laminas to send mails through Mailgun API. I'm able to send the mail as well as list the pending queue. I want to delete a particular mail in mailgun using message-id. Can ...
GoharSahi's user avatar
  • 538
0 votes
0 answers
27 views

Can email builders be embedded into a site and allow managers to edit only a certain part?

I want managers on my site to have the ability to build email templates and insert variables for values that they want from my database. I know there are lots of email builders out there. Do any of ...
Roizy Kish's user avatar
0 votes
1 answer
65 views

Asynchronous Response from python class function

I was able to successfully use an Mailgun example to send an e-mail, but when converting to a class, the e-mails are not being sent. I am assuming that it has to do with the Asynchronous Response but ...
J. Flood's user avatar
0 votes
0 answers
74 views

How to send PDF file with Mailgun in NodeJS (TS Format)?

I'm using Mailgun to send customers invoices/receipts of their purchases, but I'm having problems with attaching the PDF created by MicroInvoice (which is based on PDFKit) Since using Mailgun ...
TheKents's user avatar
0 votes
1 answer
34 views

Implementing annotations based form delivery system which allows to send the required fields in form as annotations in ASP.NET MVC

Is there any way to implement the following requirement: An ASP.NET MVC application to cater the email delivery of PDF forms to the authorized individual, which should only allow those specific ...
Mayur Bhavsar's user avatar
1 vote
0 answers
195 views

mailgun messages to authorized recipients end up in gmail spam

I am trying to use mailgun to handle email submissions from a site on heroku. I have added my gmail (google enterprise) address as an authorized recipient, and I receive the emails, but they always go ...
mheavers's user avatar
  • 29.7k
0 votes
1 answer
164 views

Attach files to Mailgun via Laravel

I'm trying to send attachments via mailgun, with my laravel project the emails are working. I receive emails, but this is the first time we need to attach some files to add other function to our ...
Erbi Silva's user avatar
0 votes
1 answer
183 views

How can you set the Mailgun template to use when sending a MIME Message to Mailgun?

I want to send a MIME Message to Mailgun using the old SMTP API (not the REST API) inside an old Laravel 6 Project. I know that you can set the template variables to use by adding the 'X-Mailgun-...
Maximilian Strehse's user avatar
0 votes
0 answers
46 views

How can I use template literals or string interpolation to display images server side?

Right now, I am running a react app/node.js app that sends an image url from the front end to the node.js backend. The problem is, I can't get the url that I'm sending, to append to an html mailgun ...
Evan's user avatar
  • 11
1 vote
0 answers
227 views

form-data TypeError: Cannot read property 'name' of undefined with Mailgun

I'm trying to use mailgun in my node application and I've followed their docs and have set it up like so const formData = require("form-data"); const Mailgun = require("mailgun.js")...
WildWombat's user avatar
0 votes
0 answers
68 views

Can Mailgun personalize emails sent to mailing list from a webmail or gmail or office 365

Mailgun has a good support for Personalization/Merge using API and SMTP but as a non-tech savy person, I am trying to send achieve the same objective of sending personalized email campaign/newsletters ...
tom cleverly's user avatar
0 votes
1 answer
200 views

How can increase the limit in mailgun message send option?

I have integrated the Mailgun with Nodejs and I send the data of more than 16kb in the dynamic data using the 'h:X-Mailgun-Variables' and got the limitation error. Please help me with how can I ...
Sagar Singh's user avatar
0 votes
1 answer
168 views

mocking mailgun.js with jest/typescript

I've got this emailService module in my project: import config from "../config"; import formData from "form-data"; import Mailgun from "mailgun.js"; import MailOptions ...
Andrew Johns's user avatar
0 votes
0 answers
356 views

Unpected behaviour while calling boto3 library to put an object in S3

I am receiving the following log almost everytime when I try to upload a file on S3 DEBUG:urllib3.connectionpool:https://api.mailgun.net:443 "POST /v3/delivery.exportify.in/messages HTTP/1.1"...
Anuj Panchal's user avatar
0 votes
2 answers
624 views

Could not reach the remote Mailgun server

when I try to send an email with mailgun in laravel (i send by API not smtp) it gives me this error: Could not reach the remote Mailgun server.
amr's user avatar
  • 5
0 votes
0 answers
89 views

basic mailgun.js node setup not working in EU

I tried running this code from their npmjs documentation. const mailgun = new Mailgun(FormData); const mg = mailgun.client({ username: 'api', key: MY_MAILGUN_API, url: 'https://api.eu.mailgun.net'}) ...
Tadas V.'s user avatar
  • 785
0 votes
0 answers
43 views

How do I set up root domain email addresses for my team in Mailgun?

I have a Mailgun account and I'd like to create emails for my team, like this: [email protected] [email protected] When setting up an email domain, Mailgun docs suggest using a subdomain, which I ...
lesssugar's user avatar
  • 15.6k
0 votes
0 answers
80 views

Mailgun API can't connect to MG servers via CLI, fine through browser

In CakePHP 2, MailGun API v3, PHP 7.4, I can initiate an email via a controller action (controller->model->mailgun client->send()) and when I initiate it via CLI/cronshell (CronShell->...
user2990303's user avatar
0 votes
0 answers
74 views

variable in html code block in visual editor template

good day, I've created a template using the visual editor and have included {{variables}} which I pass through X-Mailgun-Template-Variables header when I call the api and the email renders fine. But ...
Archie's user avatar
  • 115
0 votes
3 answers
1k views

The value cannot be null or empty. (Parameter 'mediaType')

I am getting an exception 'The value cannot be null or empty. (Parameter 'mediaType')' when trying to send an attachment using the RestSharp library. For email sending, I am using MailGun api and the ...
Dinesh Ahuja's user avatar
0 votes
0 answers
21 views

How Increase Document Quality Which I get from attachment URL in Mailgun Incoming Mail

I've get buffer data of Attachment URL which I get from Mailgun Incoming mail response , And I've Store It into firebase. I try to load Document using Incoming mail response attachment URL then that ...
Bhavya Ardeshana's user avatar
0 votes
0 answers
37 views

SMTPServerDisconnected when sending email from a Django App on Heroku with Mailgun

I'm attempting to send email from a very simple Django app. The app is hosted on Heroku, and I have the Mailgun add-on installed. However, whenever I attempt to actually send an email using Mailgun, I ...
Jade Wang's user avatar
0 votes
1 answer
59 views

How to add attachment to mailgun API using PHP

I have been using the mailgun API to send emails in my PHP application, When I add the attachment parameter as per the documentation, I got an error:Invalid resource type: array in /var/www/html/...
christian nyembo's user avatar
0 votes
0 answers
129 views

Mailgun sending emails from sandbox in production

in my Mailgun settings I have 2 domains: sandbox and empresas.xxx.es. In my production.rb file, I've got it configured as shown: ActionMailer::Base.smtp_settings = { :port => ENV['...
Gibson's user avatar
  • 2,065
0 votes
1 answer
208 views

Lambda request body parsing issue using AWS api gateway

I am facing an issue while receiving a request from Mailgun, which contains an email attribute in the request body. I have deployed an AWS lambda function along with an API gateway. When a request ...
sushilprj's user avatar
  • 2,203
1 vote
1 answer
151 views

Promises One At A Time?

So it seems I don't quite understand promises, but I've been using them in low code software my company uses for internal tools as a way to perform the same query on different data for a certain ...
Shane Dalton Gray's user avatar
0 votes
0 answers
37 views

Setting an hourly, daily, weekly or monthly email with mailgun, nodejs and nodecron

I have 3 main files of my project which link together - index.html, server.js and mail.js A portion of mail.js is below const sendMail = (message, cb) => { var dict = { 'hourly': '* * ...
ashtonmartins's user avatar

1
2 3 4 5
32