Sending automatically an email from max

Valtymore's icon

Hello all,

I thought it wouldn't be so complicated but finally I don't find a way to achieve it: sending an email from max.

Here is what I would like to do:
depending of some events in max, I would like to automatically send an email via the Mail.app (I'm using osx el capitan and max 7). If I could change the address (xxxxx.xxxx@xxxx.com) of the receiver, the subject and the text in the email, it would be perfect.

I have found many forums about the topic, it seems that using [shell], [mxj tcp send] or the "sadamlib" could work for some users but I dont find a way to deal with these objects/library.

Here are the most advanced topics I've found about it:
https://cycling74.com/forums/send-emailrecent-info/

I'm really not skilled when it comes about java, so maybe I miss doing something.
Any help is welcome, thanks in advance.
Nicolas

Florian Demmer's icon

Hey Nicolas,

another option would be to leverage Node For Max for this. One common library to help with the details of transport layer protocols and implementations is Nodemailer: https://nodemailer.com/about

let me know if you need further help with this.

Florian

Valtymore's icon

Hello Florian,

Thank you for your help!
I've read about Node For Max and Nodemailer, I confess this is a whole new world for me (I've never dealt with java or C/C++, etc). It looks like very powerfull but do I need max 8 to use Node for Max (it looks like node.script is necessary) ?

Florian Demmer's icon

Hey,

yes Node For Max / node.script is a Max 8 feature.

Florian