I have set a Subject, Message, From Name and From Email. However, the email I keep receiving “DO NOT REPLY” as From Name, "no-reply@dreamfactory.com" as From Email, “(no subject)” as Subject and an empty message.
Template Name: User Registration Default
Template Description: Email sent to new users to complete registration.
Recipient: Blank
Cc: Blank
Bcc: Blank
Subject: [DF] Registration Confirmation
Body: emails.register
Sender Name: DO NOT REPLY
Sender Email: no-reply@dreamfactory.com
Reply to Name: Blank
Reply to Email: Blank
you can (perhaps should) change those fields.
Just change it to what you want and select the template in your call to send email. Don’t need to put the email template in URL. Do this call:
var emailPayload = {
template: 'User Registration Default',
to: {
name: user.first_name,
email: user.email
}
};
That’s it. Now the DF will select this template (User Registration Default) and use all config you set. That’s why you need to change the default values or create a new template if you’d like to personalize your email messages and settings.
Thank you @allensandiego for the workaround. Spent almost an hour wondering what I was doing wrong.
This should be fixed or the documentation updated at the least.