Skip to main content

SMTP Integration Quickstart

Get up and running with Motorical SMTP in under 2 minutes.

SMTP Credentials

SettingValue
Servermail.motorical.com
Port2587 (custom) or 587 (standard)
SecuritySTARTTLS
UsernameYour Motor Block username
PasswordGenerated password from Motor Blocks dashboard

Step 1: Install Dependencies

npm install nodemailer

Step 2: Send Your First Email

swaks \
--server mail.motorical.com \
--port 2587 \
--auth-user "your_motor_block_username" \
--auth-password "your_motor_block_password" \
--tls-optional \
--header "Subject: Hello from Motorical SMTP!" \
--body "This email was sent using Motorical SMTP."

Step 3: Verify

Check your Motorical dashboard for delivery confirmation, or use the API to query logs:

curl -H "Authorization: Bearer $TOKEN" \
"https://api.motorical.com/api/public/v1/motor-blocks/$BLOCK_ID/logs?limit=5"
tip

Store credentials securely using environment variables or a secrets manager. Never commit them to source control.