I’m trying to use confirmation email throught server code:
my code is :
var templateName = “Confirmation Template”;
var emailEnvelope = new Backendless.Messaging.EmailEnvelope()
emailEnvelope.setTo([user.email])
return Backendless.Messaging.sendEmailFromTemplate( templateName, emailEnvelope )
result :
400 - Email Template with name ‘Confirmation Template’ doesn’t exist. (24002)
The “Confirmation Template” is a built-in template and cannot be used with the sendEmailFromTemplate
API. The template is used internally by Backendless when email confirmations are enabled. The only things you can do with the template are:
- Enable/disable it
- Edit the template contents.
Regards,
Mark