SMTP
Liferay (SMTP)
Send email from your Liferay instance through MailBlastr over SMTP.
Liferay sends notifications and account emails over SMTP. Configure your instance to use the MailBlastr relay and authenticate with your API key so those emails are delivered and tracked in your dashboard.
Prerequisites
- A MailBlastr API key.
- A verified domain to send from.
1. Get your SMTP credentials
You'll configure Liferay with the following MailBlastr credentials:
Hoststringoptionalsmtp.mailblastr.com
Portnumberoptional465 (implicit TLS) or 587 (STARTTLS).
Usernamestringoptionalmailblastr
PasswordstringoptionalYour API key, e.g. mb_xxxxxxxxx.
2. Configure mail in Liferay
Logged in as the admin user, navigate to Control Panel → Server Administration → Mail, then enter the MailBlastr SMTP details:
| Setting | Value |
|---|---|
| Outgoing SMTP Server | smtp.mailblastr.com |
| Outgoing Port | 465 |
| Enable StartTLS | True |
| User Name | mailblastr |
| Password | Your API key, e.g. mb_xxxxxxxxx |
Replace the password with an existing API key or create a new one on the API keys page. For the additional JavaMail properties, you can use:
mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.smtp.starttls.required=trueThe from-address Liferay sends with must be on a domain you have verified in MailBlastr, otherwise sends will be rejected.