E-mail via SMTP
The purpose of this plugin is to send e-mail using SMTP servers. The plugin supports sending HTML messages.
Configuration
This node requires configuration.
Example of configuration
{
"message": {
"send_to": "to@email.com",
"send_from": "from@email.com",
"reply_to": "reply-to@email.com",
"title": "E-mail subject",
"message": "My name is {profile@traits.private.pii.name}"
},
"source": {
"id": "resource-id"
}
}
Configuration description
- to: None, - Choose
e-mailrecipient - from: None, - Choose your
e-mail - replyTo: None,- Select to whom the reply should be sent
- title: Enter a
E-mail subject, - message: Enter your
message, HTML is allowed as well as message template.
Message
Message can be a Tracardi template. Tracardi templates can merge plain text or HTML with data from profile, event, or session.
Example of Tracardi message template
My name is {profile@traits.private.pii.name}
The {profile@traits.private.pii.name} placeholder will be replaced by data from profile. Path to data is
traits.private.pii.name.
Resource configuration
This node needs SMTP server credentials that are defined in resources. To access defined credentials you will have to pass resource id.
Resources
This node needs access to resource that configures SMTP server credentials:
Needed credentials:
- smtp: smtp.gmail.com, - Choose a smtp server
- port: 587, - Select the port on which smtp will run
- username: None, - enter your username
- password: None, - enter your password
- timeout: 15
Example of resource configuration
{
"smtp": "smtp.gmail.com",
"port": 587,
"username": "enter your username",
"password": "enter your password",
"timeout": 15
}
Input payload
This node does not process input payload.
Output
This node returns true if mail was sent or false if there was an error.
Metadata
Release files for tracardi-smtp-connector 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tracardi-smtp-connector-0.6.0.tar.gz | 9.1 kB | Without provenance | Details for tracardi-smtp-connector-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tracardi_smtp_connector-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for tracardi_smtp_connector-0.6.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / tracardi-smtp-connector-0.6.0.tar.gz
| Download URL | tracardi-smtp-connector-0.6.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9efda09ce64c7de0d49cce2e75fcfbf6cb97e476c51d16c13f2220b6a4063f95
|
|
BLAKE2b-256 checksum How to use checksums |
d73f4d3007829bd700de392ce057eaa1c8ea02930626f92def6c2937ee72e900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / tracardi_smtp_connector-0.6.0-py3-none-any.whl
| Download URL | tracardi_smtp_connector-0.6.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09f55978f67d21076bbf89c2aac4fc33f6a6003cee3c9e33c9dbbf75f4b3f6e9
|
|
BLAKE2b-256 checksum How to use checksums |
107c2c105ae79228f52f6a8893bdd8facbb4c857a6a53c9a9a0650a91887c89f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for tracardi-smtp-connector 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.