Problem
When attempting to send an email using the SendEmail API command, you receive the following error:
Sending Failed. Please see documentation.
Cause
The API command cannot send the specified email template type for the messagename parameter.
The SendEmail API command can send the following email template types:
GeneralInvoiceSupportProductDomainAffiliate
It cannot send any of the following email template types:
UserInviteNotificationAdmin
Solution
If you are sending an custom email template, perform the following steps to resolve the issue:
- Create a new email template as one of the supported email types.
- Update the
messagenamevalue in the API request to the name of the new email template.
If you are attempting to send one of the stock email templates, you may wish to consider using a different method to send the message.
Last modified: 2025 July 28