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
1
vote
1 answer

Sparkpost API: Bulk mailing with different template per recipient

I am trying to use bulk mailing/mass mailing to a large number of recipients. However, the emails must go out in different languages. In a related question the accepted answer states the following: For the multi-lingual use case, you might consider…
mae
  • 14,947
  • 8
  • 32
  • 47
1
vote
0 answers

SparkPost email not working

I have used sparkpost email for my website http://hlwmm.org. I have used php Phpmailer library with Sparkpost SMTP. It was working fine but its not working now. Below is my code // Import PHPMailer classes into the global namespace // These must be…
1
vote
1 answer

Views "With" method in a Laravel 5.5 Mailable

I have a mailable I am trying to send out, but for some reason, the one and only variable presented in the email is holding it up. Sparkpost won't send it if the {{$doorNumberDest}} is present (will explain later in the post), but without it, it…
Matthew
  • 1,565
  • 6
  • 32
  • 56
1
vote
1 answer

Laravel - Mailables Dynamic Subject (using SparkPost)

I have a mailable that I'm not having any issues with really except for dynamically setting the subject. For the life of me, I cannot change the subject line to anything but programmed text (example - Your Account is Ready) but I'd like to be able…
Matthew
  • 1,565
  • 6
  • 32
  • 56
1
vote
2 answers

Laravel 5.4 Class 'GuzzleHttp\Client' not found in TransportManager.php (line 185)

Let me explain first what I'm trying to achieve 1. User submits a form requesting membership, app sends a mail to user acknowledging user's request 2. Admin approves or denies the request, app sends mail to user notifying them With mailtrap, i have…
Mena
  • 1,873
  • 6
  • 37
  • 77
1
vote
1 answer

Why dependencies library version is different between package.json and npm info

I found following error when I'm rendering my nodejs project {"level":"error","message":"uncaughtException SyntaxError: Use of const in strict mode.\n at Module._compile (module.js:439:25)\n at Object.Module._extensions..js (module.js:474:10)\n…
PPShein
  • 13,309
  • 42
  • 142
  • 227
1
vote
1 answer

How to use SparkPost without a CC and/or BCC recipient?

Here's my transmission object: if(req.body.bcc === ''){ req.body.bcc = ''; } if (req.body.cc === '') { req.body.cc = ''; } if (req.body.subject === '') { req.body.subject = 'No subject'; } if (req.body.source…
Milos
  • 1,073
  • 4
  • 14
  • 33
1
vote
1 answer

Does the SparkPost webhook configuration accept :port in the URL?

I'm trying to configure a webhook on the SparkPost web UI. The URL for the webhook has a :port part, like http://myserver.company.com:5000/webhook/accept I can post JSON to this URL just fine, using Postman or curl, but the SparkPost UI at…
R Hayes
  • 21
  • 3
1
vote
1 answer

SparkPost email not sending

I"m trying to get SparkPost setup for my website but keep encountering problems. I'm sending the proper headers so I know that's the issue and am pretty sure it's something with my json body. This is the endpoint I'm posting to:…
Joe Scotto
  • 10,936
  • 14
  • 66
  • 136
1
vote
1 answer

How to verify sending domain for SparkPost in Microsoft Azure?

I am using SparkPost as my sending mail server. When the site was in my development server I have verified the sending domain by making a entry to the DNS from the WHM panel. Now I have deployed the website in Microsoft Azure. There I have created a…
pkk
  • 283
  • 4
  • 19
1
vote
1 answer

SparkPost sending with PHPmailer - how do I disable open and click tracking?

I know that sending emails with SparkPost via the API, I can disable open and click tracking with: options.open_tracking set to false options.click_tracking set to false However, I'm sending with PHPmailer. I can't have my email links be converted…
Tom
  • 1,215
  • 3
  • 19
  • 30
1
vote
0 answers

How to set env variable value temporary using javascript

To send e-mails I want to use SMTP url with different api key's and for that want to set env variable dynamically. For example, on the server the below code would be used to set my env variable for setting up a mail smtp. Meteor.startup( function()…
Suhas Gavad
  • 1,199
  • 1
  • 8
  • 12
1
vote
1 answer

How to change normal urls to SparkPost Custom URL in SparkPost API using PHP?

Im trying to send a email template along with a URL whose click count should be tracked using SparkPost APIs? Example: if I give www.google.com its has to change…
Puneeth Kumar
  • 182
  • 2
  • 14
1
vote
1 answer

Why the email with sparkPost go in spam?

I use SparkPost to send email but The email that I send it goes in spam. The send email that I use is : sandbox@sparkpostbox.com maybe it's for this that the email goes in spam.
Polly
  • 637
  • 3
  • 12
  • 25
1
vote
1 answer

SparkPost - not receiving Click Events

So, I have an http endpoint for receiving different types of events from SparkPost (such as Delivery, Bounce, Complaint, Open Track, ...). Everything works just fine, but I don't get any posts about Click events. Here is what I've tried so far: …
peech
  • 931
  • 3
  • 12
  • 23