SMTP Credentials
SMTP credentials are username/password pairs used to authenticate SMTP connections. They’re separate from API keys — use SMTP credentials when your application sends email via SMTP, and use API keys when using the REST API.
Managing SMTP credentials
Section titled “Managing SMTP credentials”SMTP credentials are managed through the RelayPost dashboard. Go to Settings → SMTP Credentials to create, view, and manage your credentials.
Create credentials
Section titled “Create credentials”- Go to Settings → SMTP Credentials in the dashboard
- Click Create Credential
- Enter a username (or leave blank to auto-generate one, e.g.
smtp_a1b2c3d4) - Add an optional description (e.g. “Production Rails app”)
- Click Create
Username rules
Section titled “Username rules”- 4-50 characters
- Letters, numbers, and underscores only
- Must be unique within your organization
View credentials
Section titled “View credentials”The Settings → SMTP Credentials page lists all credentials for your organization, showing:
- Username
- Description
- Active/inactive status
- Last used date
- Creation date
The password hash is never exposed after creation.
Regenerate password
Section titled “Regenerate password”If a password is compromised:
- Go to Settings → SMTP Credentials
- Find the credential and click Regenerate Password
- Copy the new password — the old one stops working immediately
Deactivate / activate
Section titled “Deactivate / activate”Temporarily disable a credential without deleting it:
- Go to Settings → SMTP Credentials
- Toggle the credential’s active status
Deactivated credentials reject all SMTP connections. Re-enable anytime.
Delete a credential
Section titled “Delete a credential”To permanently remove a credential:
- Go to Settings → SMTP Credentials
- Click Delete on the credential
Security notes
Section titled “Security notes”- Rotate passwords regularly
- Use separate credentials per application or environment
- Deactivate credentials you’re not actively using
- Never commit SMTP passwords to version control