Questions tagged [sendwithus]

Sendwithus is an API to manage and send templated emails, used primarily for transactional and automated emails. Integrates with cloud email providers such as SendGrid, Mandrill, and SparkPost.

Sendwithus is an API to manage and send templated emails, used primarily for transactional and automated emails.

Integrates with cloud email providers such as SendGrid, Mandrill, and SparkPost, and provides additional analytics, drip campaigns, and customer segmentation.

Useful Links

9 questions
7
votes
2 answers

How can I concatenate a string using Jinja for loop?

I am trying to iteratively concatenate a string to build url params with a 'for' loop, but I believe I am having scoping issues. The output should be: url_param = "&query_param=hello&query_param=world" array_of_objects =…
Brandi
  • 161
  • 1
  • 10
4
votes
2 answers

GitHub repository autoloading with Composer issue

I got PHP Fatal error: Class 'sendwithus\sendwithus_php\lib\API' not found composer.json: { "repositories": { "sendwithus_php": { "type": "package", "package": { "name":…
Roman Newaza
  • 11,405
  • 11
  • 58
  • 89
1
vote
1 answer

Double Nested Variables in Jinja

I am trying to put a transactional email in SendWithUs using jinja. My data contains a double nest variable. > { "bookingList": [ > { > "attendees": [ > { > "age": "8", > "name": "Tommy" > }, > …
JaylovesSQL
  • 33
  • 2
  • 5
1
vote
1 answer

Why does the preheader contain the content of the body?

I'm trying to specify a preheader in SendWithUs, but I have so rendering issues in gmail or inbox. The preheader specified in in the preheader tab looks like {% trans %}Hi {{ name }}, you have a new email from XXX {% endtrans %} but I receive the…
ThomasThiebaud
  • 11,331
  • 6
  • 54
  • 77
1
vote
1 answer

Trouble with curl and PHP

I'm trying to work with an API. This is the example that's been provided to me in the documentation: curl \ -X POST \ -u YOUR_API_KEY: \ -d '{ "email_id": "YOUR_EMAIL_ID", "recipient": { "address": "some.one@email.com" …
Duplosion
  • 255
  • 3
  • 10
0
votes
1 answer

Get specific logs from SendWithUs with API

I was just trying to get a specific logs from SendWithUs, but cannot really find any info. Googled all around the place. API documentation on SWU does not say how to pull like "email_name" with a specific text in it. I want to pull the logs where…
0
votes
1 answer

Why does SendwithUs make you define instance methods instead of class methods?

I'm reading how to use SendWithUs Why do we have to define instance methods in the class instead of class methods when we never actually instantiate the class? Why does SendWithUs force us to use this odd convention?
Jwan622
  • 11,015
  • 21
  • 88
  • 181
0
votes
2 answers

Testing sendwithus_ruby with rspec

we use sendwithus ruby gem to send emails in our Rails app. (https://github.com/sendwithus/sendwithus_ruby). How can I test sending emails with rspec?
Mïchael Makaröv
  • 1,085
  • 12
  • 21
0
votes
2 answers

How to send a template email using sendwithus?

is there any way to send an email template using the sendwithus service? I searched a lot but nothing found. The documentation is poor. Any code example? I am using PHP
EnexoOnoma
  • 8,454
  • 18
  • 94
  • 179