![]() One of these three parameters has to be included in your API request Make sure you're providing either a valid HTML, a text version, or a template ID. Your API token or your SMTP credentials must be valid and authorized before you can start sending emails It must match the verified domain that the API token or SMTP credentials belong toĬheck your credentials. To start troubleshooting both API and SMTP connections:Ĭheck the FROM email you're sending from. When trying to send an email via an API request or an SMTP relay server, you may come across an error that prevents the email from being sent or received. Your template will now display the custom font for the body of your email. Here is an example of how a JSON parameter could look in the response body of an API call: Use Base64 to encode your file and include it within a JSON parameter. The following information will be automatically generated:Įnter this information into your app or via a plugin. Scroll down to SMTP and toggle Send emails using our SMTP servers instead of our REST API to enable SMTP sending. How to send emails using SMTPĬheck that your domain is verified in MailerSend, then follow these steps:įind the domain from which you want to send emails via SMTP and click Manage. Once you send your first email, you can check the status of your message in the Activity tab. ![]() ![]() If not, you'll only be able to send to recipients sharing the same domain (or associated subdomain) as your verified domain.Īdditionally, any email has to be sent with a FROM address matching the verified domain or an associated subdomain. If your account is approved, you'll be able to send to any recipient. Don’t forget that you need to replace the API token, FROM, and TO values that are included in the cURL command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |