Questions tagged [mailgun-api]
7 questions
0
votes
0 answers
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();
$configurator = new…

Joe Nyambura
- 303
- 5
- 10
0
votes
1 answer
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-Template-Variables' header to the MIME Message but i…
0
votes
1 answer
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 increase the limit?
Error:
{
"message": "Send…
0
votes
0 answers
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'})
mg.messages.create('sandbox-123.mailgun.org', {
…

Tadas V.
- 775
- 1
- 11
- 22
0
votes
1 answer
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/vendor/guzzlehttp/psr7/src/functions.php
Can someone…

christian nyembo
- 85
- 1
- 10
0
votes
0 answers
MailGun API cannot able to add bounce email
When I adding bounce email with mailgun api https://api.mailgun.net/v3/domain/bounces/EMAIL_ADDRESS
Then it return [error] => not found
Here is demo script
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,…

Sandeep Sherpur
- 2,418
- 25
- 27