@teqfw/email
v0.23.0
Published
Basic email functionality for TeqFW apps.
Downloads
74
Readme
@teqfw/email
The base plugin for email sending in the Tequila Framework (TeqFW).
Disclaimer
This package is a part of the Tequila Framework (TeqFW). The TeqFW is currently in an early stage of development and should be considered unstable. It may change rapidly, leading to breaking changes without prior notice. Use it at your own risk. Please note that contributions to the project are welcome, but they should only be made by those who understand and accept the risks of working with an unstable framework.
Overview
Namespace
This plugin uses TeqFw_Email
namespace.
Local Configuration
{
"@teqfw/email": {
"auth": {
"pass": "...",
"user": "[email protected]"
},
"from": "User Name <[email protected]>",
"host": "smtp.gmail.com",
"port": 465,
"secure": true
}
}
Usage
/** @type {TeqFw_Email_Back_Act_Send} */
let actSend;
const {success} = await actSend.act({to, subject, text, html});