You can send emails using the following methods:
Send batch emails using the DirectMail console.
Send triggered emails and batch emails using APIs.
Send triggered emails and batch emails using SMTP.
Send emails using the console
Note: Currently you only can send batch emails using the console. Triggered email support is in development. Attachments are not supported.
You can send batch emails by selecting an uploaded recipient list, a verified template, a sender address, and a mail type.
For more information, see Send email using the console.
Send emails using APIs
Note: Attachments are not supported.
Single mail interface: SingleSendMail.
You can send triggered emails and batch emails without calling email templates. However, we do not recommend you send batch emails using the SingleSendMail interface.Frequency limit 100 times/second.
Batch email interface: BatchSendMail.
Using it, you can send batch emails by calling email templates. Single user frequency limit:
The frequency limit is 20 times/minute in China;
The frequency limit is 10 times/minute outside China.
For API call methods, see API Reference or SDK Reference.
Send emails using SMTP
Note: Attachments are supported.
For details on how to send emails with attachments, see How can I send emails with attachments using SMTP?
You can send triggered emails or batch emails using SMTP without calling email templates.
You must enable the SMTP send feature by setting the SMTP password for the sender addresses before using SMTP to send emails.
Log on to the DirectMail console.
On the left-side navigation pane, click Sender Addresses.
Locate the sender address you want to enable SMTP send feature, and click Set SMTP Password.
Enter a password, and click OK.
For SMTP call method, see SMTP EndPoints and code examples.
The command line method describes how to send mail by SMTP. Send emails using SMTP.
Note: The smtp sending frequency is limited to 5000 times/180 seconds, and the fatigue control (the sending frequency of the same sender to the same receiver) is limited to 150 times/300 seconds. The above is how often you send your mail to us. After the mail arrives in our system, we will try our best to deliver it to the receiving system as quickly as possible. However, the flow control strategies of each receiving system are different. Therefore, in order to improve your delivery success rate, within your business scope, please try to send your mail at a lower frequency.