Questions tagged [mailgun]
Mailgun is an online service that provides a set of APIs for sending, receiving, tracking and storing email.
1,517
questions
0
votes
0
answers
6
views
MailGun - Batch Sending recipients individual mail using Java
Does mailgun have capabilities to send emails individually if we have the distribution lists. I have not been able to find any documentation so far. Below is my code which is currently sending all the ...
0
votes
0
answers
12
views
mailgun for loop doesn't render email correctly
I have copied for loop example from mailgun documentation page and trying to make it work, but it doesn't recognize as a code
{% for item in items %}
<span>{{ item }} </span>
{% ...
0
votes
0
answers
13
views
Laravel inbound email receiving using mailgun and laravel-mailbox packages
I'm trying to receive inbound email using mailgun but when i reply the email it's logging empty data on request
.env
MAILBOX_DRIVER=mailgun
MAILBOX_MAILGUN_KEY=secret
MAIL_DRIVER=mailgun
MAIL_HOST=...
0
votes
1
answer
21
views
Error sending mail with Mailgun API within a docker
I'm using Mailgun API to send emails.
It's working in the local environment but when I create an image and run it with Docker I receive an error regarding the fetch.
I've checked and the env variables ...
0
votes
0
answers
13
views
How to specify filename when using MailGun API
I am currently in the process of integrating MailGun into one of my applications. For my use cases I need to be able to send out attachments. So far, I have been able to send out attachments just fine ...
0
votes
0
answers
13
views
Mailgun API vs Nodemailer and mailgun
I am trying to understand using between Mailgun API vs nodemailer and mailgun as transport. What is the difference between the two and why would one be preferred over the other.Using the mailgun API ...
0
votes
0
answers
24
views
Couldn't deploy Firebase Cloud Functions
Tried to deploy the functions script to firebase cloud functions. But couldn't deploy with the error below.
i functions: cleaning up build files...
Error: There was an error deploying functions:
...
-1
votes
1
answer
44
views
Why am I only getting Mailgun.js error in Cloud Run?
I'm trying to send an email using Mailgun's npm client - Mailgun.js.
When sending in development mode, everything works correctly. But when I upload the Node server to Cloud Run, something breaks.
...
0
votes
1
answer
27
views
Use X-Mailgun-Variables with html template field in Mailgun API
I'm using the Mailgun API to send an email. I'm providing my own HTML as the template in the request as opposed to using the UI or API to send the template.
I'd like to inject my variables in the ...
0
votes
1
answer
29
views
body inside express middleware is empty
i'm receiving emails from mailgun so i set my endpoint as follow
app.post(
'http://www.example.com/mail',
async(req, res, next) => {
// i want to check if email coming from mailgun
// so i ...
-1
votes
0
answers
20
views
Mailgun says delivered, but user says they never got the email
In this particular case the domain I was sending to was hotmail.com
to address is definitely correct
User claims they've checked their spam folder, three times
I send emails via Mailgun with a ...
0
votes
0
answers
33
views
Laravel 9 | Mailgun saying "Password is not set"
I'm trying to setup an email system through my Laravel app via Mailgun, here's my .env file
(sensitive info is replaced of course)
APP_NAME=Laravel
APP_ENV=local
APP_KEY=***
APP_DEBUG=true
APP_URL=***
...
0
votes
1
answer
77
views
Getting 500 Internal Server Error while trying to send an email using Mailgun in Heroku , using Rails 7 and mail_form
I was following this tutorial right here https://gist.github.com/stevecondylios/16a53b73f22621e3cde2e17096dbf5ca
Which teaches you how to make a simple contact form with mail_form on Rails 6, I'm ...
0
votes
0
answers
32
views
message: 'from parameter is not a valid address. please check documentation'
Hi all I am facing this problem with mailgun, mail sends OK in localhost, but it does'nt send when I move to server online. My server is hosted via AWS and the error it shows is message: 'from ...
0
votes
0
answers
9
views
Different server/IP - no more connection?
I'm using Mailgun through my local installation of Mautic. It used to connect correctly. Today however I got this error message: Unable to connect with TLS encryption Log data: ++ Starting ...
0
votes
0
answers
32
views
Can't receive email with attachment from mailgun
I create router from mailgun to forward emails to my website endpoint www.example.com/messages
and I received emails successfully when it only text but when i attach file to this email, I don't ...
0
votes
1
answer
41
views
Gmail automated unsubscribe emails - How to stop them?
When a user unsubscribes from an email in gmail, it seems gmail sends an email to the sender with:
`subject`: "unsubscribe"
`body`: "This message was automatically generated by Gmail.&...
0
votes
0
answers
59
views
Receive and send mail using mailgun in thunderbird
I would like to be able to receive and send mail from my custom domain in thunderbird. I've configured the DNS nameservers to point to cloudflare, and cloudflare has the MX & TXT records setup to ...
0
votes
1
answer
44
views
How can I delete my MailGun Sending Domain?
I had a sending domain created in my MailGun account, which was verified etc. However I wanted to record the process or creating & verifying the domain for our clients, so I deleted the domain.
...
2
votes
2
answers
724
views
Class "Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory" not found on Laravel 9
I just wanted to use Mailgun to send E-mail from my Laravel project and followed this steps from official document: https://laravel.com/docs/9.x/mail#mailgun-driver
composer require symfony/mailgun-...
-1
votes
1
answer
73
views
Laravel .env - can I save some variables in database?
I want put my MAILGUN_SECREY and others keys in database,
I have a model for variables and I access it like this:
\App\Variable::getByClave('MAILGUN_SECRET')->pluck('valor')->first();
what ...
0
votes
0
answers
38
views
How to get Mailgun response with Laravel Mail
How can I get the response from Mailgun using Laravel mail.
Here is my code.
// In User Model.
$mail = \Mail::send([], [], function ($message) use ($parsed_template) {
$message
-&...
0
votes
0
answers
29
views
CRM with webmail integrated
I'm building a CRM in PHP to a customer.
One thing that the customer asked me if it's possible is the chance to manage his emails inside the CRM, without leaving the CRM to a webmail for instance. Not ...
0
votes
1
answer
64
views
Mailgun is sending emails as "unknown"?
I am using Mailgun with laravel to send mail. This is what the headers show in the email that arrives by me:
Received: from <unknown> (<unknown> []) by api-n01.prod.eu-central-1.postgun....
1
vote
0
answers
89
views
How to return response body before function hits other return statement?
I'm trying to make a request to this MailGun endpoint. I need this function to return an AcessResponse object but I having trouble returning the response before my function gets to return {data: {info:...
0
votes
0
answers
27
views
Possible HTML Encoding issue with Classic ASP [duplicate]
I'm trying to use the MailGun API to enable batch sending. My use case is notifying users of "jobs" and the match could be anywhere from a few to thousands.
I'm getting an unhelpful error ...
0
votes
0
answers
38
views
Mailgun images are being sent as attachments
I am sending emails with images hosted on cloudinary.com with mailgun. I am not including any attachments whatsoever however the images which are referenced within the mailgun template are being shown ...
0
votes
1
answer
77
views
Mailgun Attachment + Axios
I would like to send an attachment with Mailgun using react+axios.
Currently, I get an email with an attachment, but it is not named correctly (the name is ".") and if I rename it to a text ...
0
votes
0
answers
41
views
Sending scheduled emails with lumen 8 and mailgun
I have a Lumen app (v8) configured for sending emails using Mailgun. Everything works flawlessly when I send the mail immediately, but when I try to use the "later" method it seems to be ...
0
votes
1
answer
64
views
Mailgun email stuck in "Accepted" state
When I use Mailgun to send emails via API, everything goes well when the recipient is a Gmail address.
But when the recipient's address is my domain's address (contact@mydomain.fr), the mail is stuck ...
0
votes
0
answers
62
views
PHPMailer SMTP via Mailgun is Stripping HTML for Gmail, Yahoo and others
I'm using PHPMailer via Mailgun (site is hosted via shared hosting on Hostgator.com) to send a validation email for users when they register. As the title, says, my HTML is being stripped in many of ...
1
vote
0
answers
194
views
Ghost email subscribe is giving “Failed to sign up, please try again” error
I hope you are well.
I’m using Ghost 4.33 on DigitalOcean Droplet. The site is running well.
I have been editing the Casper theme. Mostly cosmetic updates.
I signed u pfor Mailgun and got my email, ...
0
votes
0
answers
25
views
Mail config file settings when using multiple mailers in Laravel
I'd like to use different mailers depending on the type of email I'm sending. 'bulk' uses a webhook for tracking delivered emails. How do I set the webhook and domain variable in config/mail.php? ...
0
votes
1
answer
24
views
How to send transactional email using Mailgun CURL PhP
Answered below, Sharing my knowledge for future developers
How do I send transactional email via Mailgun
I searched for solutions online, but did not find any solution online.
Feel free too add up ...
0
votes
0
answers
39
views
Heroku - how to reconnect Mailgun to my app
Im working on a project with Ruby on Rails language, deployed to Heroku everything is working fine
I had Mailgun addon installed in my Heroku app
at one point I tried to change it to another mailing ...
0
votes
0
answers
66
views
Mailgun templating - access variable outside of loop - handlebars
I have an object that is built as so
{
"template": {
"operator_name": "operator_name",
"touchpoint_name": "test_touchpoint_name",
"...
0
votes
0
answers
42
views
My question is how to parse jwt token sent to user's email, to the client side, header or body and parse it back to the server side for verification
My question is about jwt authorization, "using nodejs/express for back-end and ejs for the front-end, if I've been able to setup and send token to user email address for authorization using ...
2
votes
0
answers
53
views
Using Twilio Verify API with Mailgun
I'm using Twilio verify API to use OTP verification in my project. I have implemented SMS verification with Twilio. but for email Twilio is using Sendgrid and for some reason I can not use Sndgrid. I ...
0
votes
1
answer
37
views
How do I get the individual parameters from a Mailgun JSON $results when I create a domain
I've read the related Mailgun JSON submissions, but nothing specifically applies to me.
When I create a Mailgun domain programmatically it returns a JSON variable called $result.
When I run the ...
0
votes
0
answers
29
views
How to add Recipients to Mailgun domain from Django
I am new to Django and trying to implement Accounts setup with Email verification. I am using mailgun addon from Heroku where I can add the recipients manually, Looking for some solution to automate ...
0
votes
0
answers
103
views
Override laravel Mailgun Transport for support multiple domain (Laravel 5.2)
We are sending email from our application by mailgun. We are using laravel 5.2.
But we have multiple mailgun domain created to sending email.
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),...
0
votes
1
answer
73
views
attaching files in base64 to mailgun.js inside node.js
I am using the official mailgun.js, and i fond it very confusing to see how can i add attachments in base64 encoding. The docs over there are with the old mailgun-js. and some parts are linking to 404 ...
0
votes
0
answers
72
views
Mailgun Message-Id is not recognised in In-Reply-To and Reference headers from gmail?
I am using mailgun to send emails to customers. There is an option to set Message-Id when we send out a message and the expectation is that whenever a reply happens on the email sent, the References ...
0
votes
1
answer
81
views
Unable to send email using mailgun in node.js
Unable to send email using mailgun in node.js and not showing any error
import express from 'express'
import mailgun from 'mailgun-js'
({apiKey: 'process.env.APIKEY', domain: process.env.DOMAIN})
...
2
votes
3
answers
775
views
Mailgun API failing silently in Laravel 8.54
I've been trying for a full day to understand why my attempt to send mail with the Mailgun API fails silently in my Laravel 8 project. I know there are other questions here with a similar complaint, ...
0
votes
1
answer
377
views
Laravel 8 sending mailgun via api Client error: Unauthorized response: Forbidden
I recently upgraded my Laravel from 5.7.29 to 8.51. I have been using the Mailgun API to send emails for years. The old version of the site is still able to send via mailgun, but the new version keeps ...
0
votes
2
answers
100
views
Create a msg variable to use instead of repeating multiline strings
I have several functions in my script that use multiline strings for messages currently.
My script is a password reminder that checks if a user is within 30, 15, 3 days from expiration, if they are ...
0
votes
0
answers
9
views
mailgun php api get events returns object with private variables instead of JSON [duplicate]
I am using
$result = $mgClient->events()->get($domain, $queryString);
The examples show this returning a JSON output but it is a php object. How do I convert the php object to JSON?
When I use ...
0
votes
0
answers
44
views
Mailgun's servers are currently unreachable in VM but it's work in localhost
I have try to use PHP API and Curl method to send email with mailgun. Both of them work in localhost. But when I deploy to my VM in GCP, it's doesn't work. The Curl method returns nothing so I can't ...