π
π
π
π
Shypyard Documentation
Searchβ¦
π
π
π
π
Shypyard Documentation
βWhat is Shypyard?
π
Need bespoke integration?
Resources
Getting started
Task library
Core concepts
Task triggers
Task code
Task runs
App
Platform services
Observability (logging)
Shypyard SDK
auths
Shypyard API
Email SMTP
Shopify
AWS
SFTP
Mongodb
API Clients
Integration to apps
List of supported integrations
Interacting with Shopify
Techniques
Limitations
Changelog
Privacy Policy
Powered By
GitBook
Email SMTP
libs.email.get()
Requires the Email SMTP integration to be set up
Returns an instance of
nodemailer
transporter. You can directly use it to start sending emails
Send simple Email
1
const
mailer
=
libs
.
email
.
get
();
2
β
3
await
mailer
.
sendMail
({
4
to
:
"
[email protected]
"
,
// list of receivers
5
subject
:
"Hello β"
,
// Subject line
6
text
:
"Hello world?"
,
// plain text body
7
html
:
"<b>Hello world?</b>"
,
// html body
8
});
9
β
Copied!
Previous
Shypyard Database
Next
Shopify
Last modified
1yr ago
Copy link