Emailing from an app using MDrivenServer

If you have an action in your viewmodel named “email” then MDrivenServer will try to find the following properties in your viewmodel:

to : will be used as to email address. You can also send in multiple emails in a comma separated string to send to multiple. Use this syntax PopularName<email> to get a common name to show instead of the email

topresentation: the name of the owner of the email this is replaced by sending in PopularName<email> in the "to" column as described here

from: the sender email

frompresentation: the name to use as sender

body: the message

subject: the subject line

Emailxxx: Any action starting with email will trigger the send.

The properties found will be used to send an email – you need to fill in the email settings in the admin UI for this to work

Emailing from the server has been updated to allow for attachments as described here; send email with attachments

This page was edited 83 days ago on 02/10/2024. What links here