Email with Mendix 4

0
Hello, I'm new to Mendix and have not previously used Java, though have been programming for years with a mix of languages. I want to send an email from my new app but can find no clear instructions on this. I did find a link from 2009 in the forum called How do I send a link via Mendix but nothing in the way of Mendix-supplied guidance as such. Am I correct that the guidance in this email is the best way to proceed for sending an email from Mendix 4? Thanks in anticipation, Nic Sydney, Australia
asked
2 answers
0

Nic,

There is an app store module for this. Just visit the app store and search for email and download the email token template into your project.

answered
0

For those like me new to both Mendix and Java, the answer to the original question is "in the absence of any other answer, Yes". After reading the brief Mx doco on Java Programming, then Java Actions, then the "Javadoc", and ignoring the red herring about Eclipse, I took a guess that this approach was at least plausible. I had to modify the code from the forum example to match the parameter names and return type I set up in my Mx Java Action, but - most amazingly - it worked.

If any person who does know what they are doing would like to agree or improve, please do so. It will help inexperienced others like me.

answered