python-sparkpost | SparkPost client library for Python | Email library
kandi X-RAY | python-sparkpost Summary
kandi X-RAY | python-sparkpost Summary
SparkPost client library for Python
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Send POST request
- Format the attachments
- Make a request to the Spark API
- Translate model keys to new key
- Update a list
- Translates the model keys
- Update an entry
- Performs an upsert
- Sends multiple email messages
- Send a request to the API
- Update a template
- Translates keys and options
- Get a transmission by ID
- Returns the details for the given email address
- Retrieve a list of objects from the server
- Delete a transmission
- Returns a single list
- Delete a list
- Delete an email address
- Delete a template
- Deprecated
- Creates a new entry
- Get a specific template
- Get a list of sources
- Preview a template
- Create a new instance
- Fetches a list of all resources
python-sparkpost Key Features
python-sparkpost Examples and Code Snippets
Community Discussions
Trending Discussions on python-sparkpost
QUESTION
Our Django app uses SparkPost as an email provider. A new feature we are implementing should allow users to create their own organizational emails and send them to whoever they wish. Now, these emails should be received as individual ones, not with multiple recipients ("to") so that users can't see each other's address.
I have run a few tests with the SparkPost transmissions API. This is how you send an email:
...ANSWER
Answered 2020-Mar-13 at 13:17Yes, it is best to do this in a single REST call.
By default, SparkPost REST injections are BCC and will send individual emails to each recipient. As you have seen you can also have the typical "CC" behavior but you would need to set the CC
header values with the addresses you want to be seen by others.
So in the example where a CC was included you must have had something like this in the REST call:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install python-sparkpost
You can use python-sparkpost like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page