Forums > Jitter

Email Captured Images to Users

March 22, 2006 | 3:38 am

I made an art project using MAX/MSP/Jitter; Basicly a video camera takes live video – blah blah compile blah – the end matrix is saved as a file on the computer’s main drive. I am setting up the project as an installation and I would like people who come by to be able to email the pictures they make to themselves so they can take a part of it with them.

Question: How do I take the image file created and email it to a user defined address?

I am fairly new to MAX/MSP/Jitter, so I might need explanations in terms with small words…

-joel


March 22, 2006 | 3:58 am

mxj has a mail client (mxj is java embedded in Max/MSP).

mxj net.mail.send should do it.

explore your c74 folder/java/help/

v a d e //

http://www.vade.info
abstrakt.vade.info

I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
LIVE! I LIVE! I LIVE! I LIVE!

You will not be saved by the Holy Ghost. You will not be saved by the
God Plutonium.

In fact, YOU WILL NOT BE SAVED!


March 22, 2006 | 4:48 am

Cool, thanks. I didn’t know those files where there.

This leads me to my next question, what about authentication for and SMTP server? I searched Google and only found another guy with the same question, but no answers. I also looked through the mxj tutorials, but it’s possible that I missed something. A point in the right direction would be fine.


March 22, 2006 | 7:23 am

I don’t know what platform you’re on, but I’ve used AppleScript to do
this on Mac.

jb


March 23, 2006 | 6:42 pm

ArtGoesHere,

here is the patch i mentioned. it is a mangled version of Peter Nyboer’s OTUDP. you will have to google this as well as open sound control to get the proper objects and help files. i think that it will work, it may need some tuning. i know that there are probably better ways of working this, but here is a start.

-o.

max v2;
#N vpatcher 373 141 1072 551;
#P button 223 63 15 0;
#P window setfont "Sans Serif" 9.;
#P number 584 210 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 538 210 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 498 211 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 452 211 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 462 159 88 196617 OpenSoundControl;
#P hidden newex 462 140 185 196617 otudp read 5500 nbufs 20 bufsize 1024;
#P hidden newex 100 264 28 196617 t b s;
#P hidden newex 77 220 54 196617 prepend 4;
#P number 77 192 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 22 221 54 196617 prepend 3;
#P number 22 193 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 70 165 54 196617 prepend 2;
#P number 70 137 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 461 182 70 196617 route 1 2 3 4;
#P hidden newex 12 165 54 196617 prepend 1;
#P number 12 137 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 175 303 239 196617 otudp write 128.1.1.2 5500 nbufs 20 bufsize 1024;
#P objectname otudpwrite;
#P hidden newex 258 173 20 196617 t b;
#P hidden newex 353 173 54 196617 route text;
#P hidden newex 286 173 54 196617 route text;
#P window setfont "Sans Serif" 10.;
#P user textedit 394 126 454 143 4 3 10 5500;
#P user textedit 231 126 368 145 4 3 10 150.253.90.137;
#P window setfont "Sans Serif" 9.;
#P hidden newex 272 203 93 196617 pack host url 5500;
#P newex 180 232 90 196617 OpenSoundControl;
#P hidden connect 8 0 9 0;
#P hidden connect 13 0 14 0;
#P hidden connect 11 0 12 0;
#P hidden connect 15 0 16 0;
#P connect 12 0 17 0;
#P connect 9 0 17 0;
#P connect 16 0 17 0;
#P connect 14 0 17 0;
#P connect 1 0 7 0;
#P connect 0 0 7 0;
#P connect 17 0 0 0;
#P connect 24 0 2 0;
#P hidden fasten 5 0 6 0 358 160 263 160;
#P hidden fasten 4 0 6 0 291 160 263 160;
#P connect 6 0 1 0;
#P connect 2 0 4 0;
#P connect 4 0 1 1;
#P connect 3 0 5 0;
#P connect 5 0 1 2;
#P connect 24 0 3 0;
#P connect 10 0 20 0;
#P connect 19 1 10 0;
#P hidden connect 18 0 19 0;
#P connect 10 1 21 0;
#P connect 10 2 22 0;
#P connect 10 3 23 0;
#P pop;


Viewing 5 posts - 1 through 5 (of 5 total)