-
Notifications
You must be signed in to change notification settings - Fork 26
Description
{
"credentials": {
"email": "myemail@mydomain.com",
"host": "email-smtp.us-west-1.amazonaws.com", // depends on what service you are using
"username":"A*****************************",
"password":"XXXXXXXXXXXXXXXXXXXXXXXXX",
"port": 587, // 465 / 587
"secureConnection": true // boolean: true | false
},
"mail": {
"subject": "Good morning {{fname}} {{lname}}! Just wanted to say hi!",
"from": "INGLES UNIVERSAL username@mydomain.com", // keep the format
"to": "leads.csv", // path to csv (relative to where this file is)
"theme": "themes/Newsletter/theme.html", // path to csv (relative to where this file is)
"attachments": [
// relative path to the attachment files. Keep this array empty if no attachments.
// SEE THE EXAMPLES BELOW.
{
"filename": "{{fname}}'s Demo CSV.csv", // You may use string patterns in fileName
"path": "leads.csv" // You may use string patterns in path too!
},
{
"filename": "{{fname}} {{lname}}'s Resume.pdf",
"path": "https://raw.githubusercontent.com/KumarAbhirup/resume/master/Kumar%20Abhirup%20CV.pdf"
}
]
},
"configuration": {
"mailInterval": "*/10 * * * * *", // Cron Expression: To mail every 10 seconds [ >= 10 seconds recommended ]
"verbose": true // boolean: True if you want a log of the live process in the terminal.
}
}
ERROR SHOWN: Attempts to connect your email account has failed.