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
33
votes
2 answers

curl: argument list too long

I want to send an email with attached pdf file through the Sparkpost API with curl post. To insert the pdf I use (my test.pdf is ~ 200KB) "data":"'$(cat test.pdf} | base64 --wrap=0)'" But somehow this doesn't work out showing the following…
Simon
  • 373
  • 1
  • 4
  • 6
9
votes
2 answers

But these conflict with your requirements or minimum-stability

Hi, I'm getting this problem when I try to install SparkPost PHP Library: Problem 1 - The requested package sparkpost/sparkpost No version set (parsed as 1.0.0) is satisfiable by sparkpost/sparkpost[No version set (parsed as 1.0.0)] but these…
Diego Barreiro
  • 333
  • 8
  • 22
5
votes
2 answers

How to prevent SparkPost from changing urls in emails?

I use SparkPost to send emails from my node.js app. However, all links are converted to urls such as:…
Nico
  • 4,248
  • 1
  • 20
  • 19
5
votes
2 answers

How to send a stored template and also specify reply_to, from.name and from.email?

Here it is explained how to specify these properties when sending inline content, but when sending a stored template it is said that they are forbidden. I tried to send an email by specifying the ID of the template and also the forbidden properties:…
silviubogan
  • 3,343
  • 3
  • 31
  • 57
4
votes
1 answer

Actionmailer - Sparkpost template and multilanguage

It's my first time setting up mails in a rails project. I was told to use SparkPost and to create templates for different languages for several actions. For simplicity lets say a user_signed_up(user) mail. Currently I have this setup working: Gem…
Martijn Kerckhaert
  • 494
  • 1
  • 6
  • 21
4
votes
2 answers

How to get bounce emails from SparkPost without using webhooks?

We are working at the integration of our email application with SparkPost. The only issue we have is getting bounce emails from SparkPost to exclude them from future mailings. Our application retrieves bounce emails directly from the mail server.…
Alex
  • 41
  • 1
  • 2
3
votes
1 answer

Sending "CC" and "BCC" in substitution data when calling Node SparkPost API

I have templates created in SparkPost dashboard. But the problem I face is that I am not able to send "CC" or "BCC" by making the api calls. The code snippet below will help you understand what I am trying to do. var SPARKPOST_KEY = "KEY" var…
3
votes
1 answer

Error "Fatal SparkPostError: Exceed Sending Limit" when sandbox=true

I send the message via SparkPost API with option sandbox=true. I get error "Fatal SparkPostError: Exceed Sending Limit" I can't find description of the error in DOCs, Google or stackoverflow. Anybody know what issues with sandbox of SparkPost? How…
3
votes
2 answers

Sparkpost unsubscribe and webhook

I have a problem with unsubscribe link in newsletter and can't figure out what I'm doing wrong. The link in the newsletter is Unsubscribe". I have…
praxus
  • 488
  • 1
  • 7
  • 18
3
votes
3 answers

Sparkpost Rails sending domain rejected

I am using this guide as a reference to set up ActionMailer for my Rails app but I am getting this error whenever I try to send a mail. I have also tried to copy using the same exact settings as the guide but I still get the same error. 550 5.7.1…
Wraithseeker
  • 1,884
  • 2
  • 19
  • 34
2
votes
1 answer

node-sparkpost not including attachment in email

I'm trying to send an email with an attachment with node-sparkpost (which uses the transmissions API under the hood). Why does the following code send the email, but without the attachment? "use strict"; let Sparkpost = require("sparkpost"); let…
John Keyes
  • 5,479
  • 1
  • 29
  • 48
2
votes
1 answer

Sending iCal invite over Sparkpost

I am trying to send a calendar invite as an attachment through email using SparkPost but the invite does not open once the email is received. I use two files "calendarinvite.php" to create the invite and "Sendemail.php" to send the email. the…
2
votes
1 answer

Sending Sparkpost smtp Email using c#

I have looked at numerous answers in stack overflow and other places and I still cannot find a good example on how to: in C#, Successfully send email via sparkpost smtp after STARTTLS was introduced. Documentation in Sparkpost…
Guttorm
  • 21
  • 2
2
votes
1 answer

SparkPost SMTP relay with StartTLS suddenly gives error "Authentication failed because the remote party has closed the transport stream."

I have a (long) running webapplication written in VB on the ASP.NET 4.0 framework. We have been using SparkPost to send e-mails for a while, but since a few days (not sure about the exact date), the e-mail functionality has stopped working and…
Daniël Tulp
  • 1,745
  • 2
  • 22
  • 51
2
votes
1 answer

401 error using SparkPost with XHR

Hi I'm trying to send a POST call to the SparkPost API in a JavaScript web app. It works fine with curl and Postman, but as soon as I try sending from my localhost site I get a 401 Unauthorized error. My current code looks like the below, but I've…
nrflaw
  • 840
  • 8
  • 13
1
2 3 4 5 6 7 8