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

SparkPost additional field

I can´t get my head around syntax on line 25 in this SparkPost code - link on github What if I want to add an additional variable to this? 'substitution_data' => ['name' => 'YOUR_FIRST_NAME'], Say I want to add 'company' => 'ABC' How should I…
Vojta
  • 379
  • 1
  • 4
  • 15
0
votes
2 answers

Mass email to a list of contacts via Sparkpost

I would like to know if there is any existing implementation that sends mass email to a list of contacts using Sparkpost. I am able to use API and PHP.
EnexoOnoma
  • 8,454
  • 18
  • 94
  • 179
0
votes
3 answers

Sparkpost C# API add attachments to templates

I've been going thumbing through the documentation and searching the internet to find documenation on how to add attachments to created templates. I'm using darrencauthon's CSharp-Sparkpost to handle the API calls. So far what I have is not working.…
Fus Ro Dah
  • 331
  • 5
  • 22
0
votes
0 answers

Spark Post and Android

I am trying to send email's using spark post, i'm facing these issues HTML tags are not reflecting in emails How to add attachments (images) in my mails.
Krishna B N
  • 65
  • 1
  • 6
0
votes
1 answer

How to set From as a name in SparkPost email

I'm using Sparkpost client library for java. When I set a fromEmailand username to contentAttributes I expect to see Name Name instead of name@mydomain.com in email I have got. But it doesn't work. Is there any way to show Name instead of Email in…
0
votes
1 answer

SparkPost sending emails

I'm trying to use Html tags for sending emails just like designing template, how can i do it. Using sendEmail method of sparkLibrary i can send only text formatted emails, how can i design templates for the email and send it. …
Krishna B N
  • 65
  • 1
  • 6
0
votes
1 answer

Unable to send mail via SparkPost saved templates using python client

I'm trying to send mail using SparkPost SMTP API response = spark.transmissions.send( recipients=['somemail@example.com'], text='hi', content={ "template_id": "my-first-email", "from":{"name": "someone", "email":…
Cybersupernova
  • 1,833
  • 1
  • 20
  • 37
0
votes
1 answer

Routing mail through SMTP and also using API

I have an app (SaaS – Laravel/PHP) built and my goal is to send transactional mails through the app and also send general emails out through my app. My transactional mail is working via my sending domain (configured using spark post’s api-php). Now,…
0
votes
1 answer

Unit testing for SparkPost

package johnny.me.controller; import com.sparkpost.Client; import com.sparkpost.model.responses.Response; import com.sparkpost.exception.SparkPostException; import org.springframework.stereotype.Service; /** * Sparkpost class sends the email…
Johnny
  • 1
  • 1
  • 2
0
votes
2 answers

Configure SparkPost account in test server

I have a Laravel 5.2 application, I need to send emails so I choose SparkPost as mail service. I configured the api_key, the driver, etc. But now I get this error: Client error: `POST https://api.sparkpost.com/api/v1/transmissions` resulted in a…
Sredny M Casanova
  • 4,735
  • 21
  • 70
  • 115
0
votes
2 answers

SparkPost 400 Bad request Domain Setup?

I'm encountering this error after hooking up SparkPost and Laravel. I only want to deploy this application locally for development purposes (localhost). And I don't have any domain at the moment. Does this error have to do with domain setup? Thanks…
TheBAST
  • 2,680
  • 10
  • 40
  • 68
0
votes
0 answers

The following From address failed: "" MAIL not accepted from server. SMTP server error

I have been struggling with this error for two days. But I don't know what is going on. Everything was working well using phpMailer and a gmail account. Since gmail has a daily send limit we wanted to using sparkPost instead. Then, when we changed…
Adrián Rodriguez
  • 430
  • 11
  • 26
0
votes
3 answers

SparkPost API error: 'Too many requests'

When I run requests series like https://api.sparkpost.com:443/api/v1/suppression-list/he**0@gmail.com Sometimes, I get error: name: 'SparkPostError', errors: [ { message: 'Too many requests' } ], statusCode: 429 Too many - this is how…
0
votes
1 answer

Laravel 4 Mail failing using transactional email provider

I am working with Laravel 4 at the moment, I am wanting to link in a transactional server, Sparkpost does everything I need it too, but I am having trouble implementing it, whenever I use Mail::send(), I get the following error, Type…
Udders
  • 6,914
  • 24
  • 102
  • 194
0
votes
1 answer

I need to verify only Sending Domain and API Key

I need to verify only the Sending Domain and the API key. Now I use this curl: curl \ -H "Content-Type: application/json" \ -H "Authorization: " \ -X POST -d…
Doppu
  • 433
  • 2
  • 5
  • 14