By Oliver Zhang, Solutions Architect – Alibaba Cloud ANZ
DirectMail is a simple and efficient service to send email notifications and batch email quickly and efficiently without the need to build your own email server. DirectMail is a key product for serving Alibaba's own e-commerce platforms, which includes servicing Alibaba's record-breaking Double 11 annual shopping festival.
In this article, we are going to discuss how to use Alibaba Cloud DirectMail (DM) service to send emails. It's actually quite easy to setup the email domain and sender on the DM console, and then using telnet to test it.
a. Click on "Email Domains"
b. Click on "New Domain"
c. Type in your domain
d. Click on "Configure"
e. On the configure page, these are the records need to be added into the domain DNS.
f. Go to your domain service provider and add the records.
g. Verify the domain
h. If your DNS records were setup correctly, the domain shall pass the verification.
a. Go to "https://api.aliyun.com/?#/"
b. Choose "Products" -> "DirectMail"
c. Choose "ModifyPWByDomain"
d. Select the region you have setup domain and type in the domain name and password, then "Submit Request"
e. A return code will be displayed
a. Create Sender Address
b. Add the test email sender
a. Telnet script
telnet smtpdm-ap-southeast-2.aliyun.com 25 HELO alibabacloudanz.com AUTH LOGIN <domain alibabacloudanz.com converted to base64 code> <domain password converted to base64 code> MAIL FROM:<firstname.lastname@example.org> RCPT TO: <email@example.com> DATA subject: test email title from: <firstname.lastname@example.org> to: <email@example.com> test email body . quit
c. Test result
Alibaba Clouder - August 29, 2018
Alibaba Clouder - December 14, 2017
Alibaba Clouder - August 28, 2018
Alibaba Clouder - May 15, 2018
Alibaba Clouder - May 20, 2019
Alibaba Clouder - July 1, 2018
A simple and efficient email service to help you send transactional notifications and batch emailLearn More
Alibaba Cloud DNS is an authoritative high-availability and secure domain name resolution and management service.Learn More
A messaging service that covers the globe, Alibaba SMS provides convenient, efficient, and intelligent communication capabilities that help businesses quickly contact their customers.Learn More
More Posts by Alibaba Clouder