SMTP

Retool (SMTP)

Send email from a Retool app through MailBlastr using an SMTP resource.

Retool can send email from your apps and workflows through an SMTP resource. Create one pointed at the MailBlastr relay and authenticate with your API key, then call it from any Retool query. SMTP sends appear in your dashboard and event log just like API sends.

Prerequisites

1. Get your SMTP credentials

You'll configure the Retool SMTP resource with the following MailBlastr credentials:

Hoststringoptional

smtp.mailblastr.com

Portnumberoptional

465 (implicit TLS) or 587 (STARTTLS).

Usernamestringoptional

mailblastr

Passwordstringoptional

Your API key, e.g. mb_xxxxxxxxx.

2. Create an SMTP resource

Log into Retool and create a new SMTP resource:

  1. 1
    New resource

    Go to Resources and click Create New.

  2. 2
    Select SMTP

    Search for SMTP and select it.

  3. 3
    Add credentials

    Give the resource a name and enter the MailBlastr host, port, username (mailblastr), and password (your API key) from the section above.

Once saved, use the SMTP resource from any Retool query to send mail. The from-address must be on a domain you have verified in MailBlastr.