For Developers By Developers
You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.
Configure Welcome emails with SMTP for Sendmail
Welcome emails is an important component of any email communication strategy. In order to ensure delivery of Welcome emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.
Prerequisites
You need to complete these given prerequisites, you can skip the step if you have already completed.
Sign up for a Mailazy account.
Complete Domain Authentication.
Generate the Mailazy Access Key
Integrate Mailazy with Sendmail
Sendmail requires libsasl in order to properly send authentication requests to Mailazy servers. The saslauthd server daemon is not required unless you plan to receive authentication requests to the same server. For more information on configuring sendmail for SASL support, check the official documentation.
Set the authorization credentials in /etc/mail/access
AuthInfo:smtp.mailazy.com "U:mailazy_apikey" "P:mailazy_yourAPIKey" "M:PLAIN"
Define the Smart Host in /etc/mail/sendmail.mc You should add these lines just after the commented "#dnl define('SMART_HOST', 'smtp.your.provider')dnl" line in the file
define(`SMART_HOST', `smtp.mailazy.com')dnl
FEATURE(`access_db')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
Update sendmail.cf and access.db files
(You will need to run these commands as 'su' or 'root')
$ cd /etc/mail
$ m4 sendmail.mc >sendmail.cf
$ makemap hash access.db < access
On older distros, you can run restart sendmail like so:
$ /etc/init.d/sendmail restart
If, however, you're using a newer version, do the following to restart:
$ service sendmail restart
Send Emails with Mailazy
Mailazy is a simple email service to use, yet it provides so many benefits. Mailazy is the only simple transactional email service you’ll need. And the forever free plan lets you test drive it., Mailazy's team is well-equipped to help you quickly resolve your queries and issues. Try us for free today!
Signup for Free Developer DocumentationReady to get started?
For High-Volume custom requirements send us an email and we will come up with a detailed quote within 24 hours.
Contact Us