Emailing from an app using MDrivenServer
This page was created by Lars.olofsson@mdriven.net on 2019-08-16. Last edited by Stephanie@mdriven.net on 2025-01-24.

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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments