Questions tagged [sparkpost]

SparkPost is a cloud-based email delivery service. SparkPost provides a RESTful API along with SMTP integration. It features real-time analytics, performance, and scalability. Please do not post your API Key in your questions :)

SparkPost is a cloud-based email delivery service. SparkPost provides a RESTful API along with SMTP integration. It features real-time analytics, performance, and scalability.

Please be careful not to post your API key in any question. If you do post your API key, even if you edit the question to remove it, delete your key and create a new one.

119 questions
0
votes
1 answer

Cannot put customer data in sparkpost email

I'm attempting to create a Sparkpost email where the template generates to say the recipient's name like "Hello, David" for example. For reference I'm making a call from a web app that uses C#. The sparkpost website doesn't seem to have any…
Renma
  • 81
  • 1
  • 11
0
votes
1 answer

Can I send .ics file with sparkpost? (node.js)

I'm trying to create an i-cal event and attach it to a sparkpost transmission like this: const event = cal.createEvent({ start: req.body.a.start, end: req.body.a.end, summary: req.body.a.title, description: req.body.a.body, url:…
Izzi
  • 2,184
  • 1
  • 16
  • 26
0
votes
1 answer

Authorisation error with sparkpost when sending mails with their api

I'm trying to send emails from netlify functions with the api from sparkpost. But when I'm testing the function with functions:invoke verify-email --no-identity I get only a 401 error I have this simple function const SparkPost =…
Gregor Voinov
  • 2,203
  • 7
  • 34
  • 52
0
votes
0 answers

Getting 403 Error when sending an email with Laravel and Sparkpost

I get a 403 Forbidden response when attempting to send an email using Sparkpost from my Laravel 5.6 application. I added the Sparkpost api key to both the .env file and services.php file. Key is correct. .env file: enter code…
0
votes
1 answer

Python Sparkpost email header - CC and BCC issue

When I use the below code, the email sends to all recipients, however, the email headers aren't set correctly as the CC recipient isn't appearing in the email, all recipients only see the main recipient appearing in the email. Does anyone know why…
J Foley
  • 1,038
  • 1
  • 17
  • 30
0
votes
1 answer

Guzzle response trying to get property of non-object

I have a cron command I'm trying to work on and I have realized I'm not as familiar with Guzzle as I wish I was. But here's a portion of my command: foreach($osdClaimResponses as $ocr){ $client = new \GuzzleHttp\Client(['headers' =>…
Matthew
  • 1,565
  • 6
  • 32
  • 56
0
votes
2 answers

How to set the "MAIL FROM" header for an email?

In the SparkPost (an email sending provider) documentation for setting "bounce domains" it says specified in the [...] mail from header in the SMTP payload https://www.sparkpost.com/docs/tech-resources/custom-bounce-domain/ But when I set the…
Brian Leishman
  • 8,155
  • 11
  • 57
  • 93
0
votes
0 answers

Sparkpost: sending email to same address/ Java API

I am using sparkpost's java api. I am having this weird behaviour when I am trying to send an email to the same email address. This here works: Client client = new Client("apikey"); String…
tim.a
  • 83
  • 1
  • 1
  • 10
0
votes
0 answers

Firebase Cloud Functions - Error when sending email

I need to send email through an HTTP Request to Firebase Cloud Function. I'm using Sparkpost as provider, but when I call the Function with Postman, I receive the following error: { "message": { "errno": "EAI_AGAIN", "code":…
Mintendo
  • 557
  • 1
  • 8
  • 24
0
votes
0 answers

Laravel mails events have en empty message

I'm sending an email like : Mail::to($to)->queue($mailable); I have a listener like that (registered in EventServiceProvider) : class LogSendingMessage { public function __construct(){} public function handle($event): void { …
Ludovic
  • 1,992
  • 1
  • 21
  • 44
0
votes
1 answer

Outlook.com sender image not shown

When I receive email from my bank or, say, Skype, I see their image in the thumbnail along with one line blurb of the email. How can I get my company logo to show up in the thumbnail when sending email programatically via sparkpost (email sending…
vjjj
  • 1,019
  • 3
  • 10
  • 35
0
votes
2 answers

Django anymail links in emails are changed and don't work

I'm trying to do something which I would have thought should be very simple but appears to be very complicated. I'm using Django Anymail, with SparkPost as ESP. I want to include a link back to my site in the email, something like
Lewy Blue
  • 452
  • 3
  • 16
0
votes
0 answers

Sending email with Sparkpost using Java

I am trying to send an email with Sparkpost using JAVA. I am getting an exception "com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException" and the complete error log is below. Could any one please help me on this. Oct 22, 2018…
0
votes
0 answers

spark post rails 550 5.7.1 Unconfigured Sending Domain

Im running this on heroku. I have verified the domain with sparkpost. It says ready to send. I changed The real url to "example". mailers/order_mailer.rb class OrderMailer < ActionMailer::Base default from: "orders@example.com" def…
DhatchXIX
  • 437
  • 1
  • 3
  • 17
0
votes
1 answer

Transmission api setting wrong To header when specify header_to with multiple recipients

I'm trying to send an email to multiple people(multiple to addresses) and have them all listed in the email clients like a regular email. When I set the header_to field on all recipients to email1@foo.com, email2@foo.com I end up with emails that…
epelc
  • 5,300
  • 5
  • 22
  • 27