Skip to main content

SMTP Relay Quickstart

Get app SMTP credentials (SMTP relay) on Motorical in under 2 minutes.

SMTP Credentials

SettingValue
Servermail.motorical.com
Port2587 (STARTTLS) or 2465 (implicit TLS)
SecuritySTARTTLS (2587) or Implicit TLS (2465)
UsernameYour Motor Block username
PasswordGenerated password from Motor Blocks dashboard

:::caution 587 and 465 are a different service Ports 587 and 465 on mail.motorical.com are Postfix mailbox submission for Motorical/Gluo mailbox accounts, authenticated against Dovecot. Motor Block SMTP credentials do not work there. Motor Block submission is 2587 / 2465 only. :::

Step 1: Install Dependencies

npm install nodemailer

Step 2: Send Your First Email

swaks \
--to recipient@example.com \
--from your_username@your-domain.com \
--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.