Sending "merge mails" from an app

Hi Viktor,

I’m exploring the possibilities of Backendless to make a web app for myself to run my not for profit organisation. So my questions are related to the backend as well as the frontend. I would like to have an all in one solution and not have to use another service for the frontend.

I want to be able to send emails to a list of people (not necessarily ‘users’ in the sense that they have an account) based on app logic and I want to be able to include information in the mail that is specific for that user.

In the Email Templates Section I can only include Smart Text which takes data from the app users database, correct?

Also I would like to compose an email template from within the app. Is that possible at all?

Still another question: is there a UI element that allows the app user to enter rich text?

Thanks for your reaction!
Tom

Hello @Tom_Deneckere

I have made this topic public, private topics allowed only for customers that have PRO or Managed license

Hi, @Tom_Deneckere

Welcome to our community and thank you for trying out Backendless.

I want to be able to send emails to a list of people (not necessarily ‘users’ in the sense that they have an account) based on app logic and I want to be able to include information in the mail that is specific for that user.

First you need to configure your SMTP server. You can do this under the Manage → Emails → Email Settings section.
Also, you will need to create your Email Template to send messages. And pass in the template-values the information you need.
You can read more about email_templates and custom smart text at these links:

Email Templates - Backendless REST API Documentation

Send Emails with Templates API - Backendless REST API Documentation

Would like to clarify why you are not considering adding these users to the app? You need them in the app to implement your idea. Alternatively, you could try making a different Email Template for each user.

Also I would like to compose an email template from within the app. Is that possible at all?

You can compose your own email template in the Massaging → Emails section.

Still another question: is there a UI element that allows the app user to enter rich text?

At this moment there is no such a component, but we are working on Custom Components which will enable creating components with any custom JS code. Please, follow our updates, to see when this functionality will become available.

Regards,
Marina