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 OTP emails with SMTP for Zend
OTP emails is an important component of any email communication strategy. In order to ensure delivery of OTP emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.
You need to complete these given prerequisites, you can skip the step if you have already completed.
Integrate Mailazy with Zend
You can directly integrate Zend's mail module with Mailazy to use our SMTP servers for outgoing messages.
require_once '$HOME/mailazy/Zend/library/Zend/Mail.php'; require_once '/$HOME/mailazy/Zend/library/Zend/Mail/Transport/Smtp.php'; $config = array('ssl' => 'tls', 'port' => '587', 'auth' => 'login', 'username' => 'mailazy_apikey', 'api_key' => 'mailazy_secret'); $transport = new Zend_Mail_Transport_Smtp('smtp.mailazy.com', $config); $mail = new Zend_Mail(); $mail->setFrom('[email protected]', 'Some Sender'); $mail->addTo('[email protected]','Some Recipient'); $mail->setSubject('Test Subject'); $mail->setBodyText('This is the text of the mail using Zend.'); $mail->send($transport);
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 Documentation
Ready 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