About this page · Updated 2026-10-22 16:14 UTC
What this page is: SMTP relay / app SMTP credentials for Motorical — host, ports, Motor Block username, and first-send verification.
How far to trust this page: the build checked 1 names, paths, tools, scopes and error codes against the real product (0 do not match). Reviewed claim by claim on 2026-10-22 (documentation truth audit).
Updated 2026-10-22 16:14 UTCLatest change: Send Email pages: every field, shown the same wayRecently updated pages
SMTP Relay Quickstart
Get app SMTP credentials (SMTP relay) on Motorical in under 2 minutes.
SMTP Credentials
| Setting | Value |
|---|---|
| Server | mail.motorical.com |
| Port | 2587 (STARTTLS) or 2465 (implicit TLS) |
| Security | STARTTLS (2587) or Implicit TLS (2465) |
| Username | Your Motor Block username |
| Password | Generated 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.
:::
Recipients and headers over SMTP
Over SMTP you use ordinary message headers instead of the JSON fields of the HTTP API (there is no fromName, cc, bcc, replyTo or headers field here):
- To and Cc: set the
ToandCcheaders as you want recipients to see them. Every recipient still receives the message. - Bcc: put the address in the SMTP envelope only. An address that is not in any header is never named in one.
- Display name and Reply-To: write them in the
From:andReply-To:headers. - Your own headers:
List-Unsubscribe,List-Unsubscribe-Post,Precedence,Auto-Submittedand your ownX-headers reach the recipient. The same reserved headers are refused as over HTTP; see Custom headers.
Over HTTP the same things are fields of POST /v1/send: Connect and send your first email lists them all.
Step 1: Install Dependencies
- Node.js
- Python
- PHP
npm install nodemailer
pip install secure-smtplib
composer require phpmailer/phpmailer
Step 2: Send Your First Email
- cURL
- Node.js
- Python
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."
const nodemailer = require('nodemailer');
const transporter = nodemailer.createTransport({
host: 'mail.motorical.com',
port: 2587,
secure: false,
auth: {
user: 'your_motor_block_username',
pass: 'your_motor_block_password'
}
});
const mailOptions = {
from: 'sender@yourdomain.com',
to: 'recipient@example.com',
subject: 'Test Email',
text: 'Hello from Motorical!'
};
transporter.sendMail(mailOptions);
import smtplib
from email.mime.text import MIMEText
server = smtplib.SMTP('mail.motorical.com', 2587)
server.starttls()
server.login('your_motor_block_username', 'your_password')
msg = MIMEText('Hello from Motorical!')
msg['Subject'] = 'Test Email'
msg['From'] = 'sender@yourdomain.com'
msg['To'] = 'recipient@example.com'
server.send_message(msg)
server.quit()
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"
Store credentials securely using environment variables or a secrets manager. Never commit them to source control.