2017년 6월 14일 수요일

How To Attach Multiple Files to an Email


Hi all, as an start i want to share that this is my first post and my first experience with MIT App Inventor 2, I'm  really happy to be here but sadly i do not have any skill or experience on programming.

Straight to the business my project is based on Photo Booth App, the idea is to create an app that can take pictures from cam  (1 to 16 already functional), then to have the ability to select from canvas x amount of images (never more than 16) and  sent them by mail. At this point following the step by step  Photo Booth App tutorial i'm not able to send more than 1 picture, (and that's ok becouse it's contemplated into the original code) but need to improve this part to send more files on a single mail.

now thinking in 3 variables that i was not able to solve by myself.
1 - how to attach more than 1 file
2 - how to set up a size limit for outgoing mail.
3 - maybe an additional box to add "subject" into email

I really appreciate any help or assistence. 

--
1. use the Mail extension to send emails via SMTP without user interaction to several To, Cc or Bcc addresses, add several attachments and send in plain text or HTML format.

2. to reduce the size of images, you can use my image extension
Image Extension to do some basic image manipulation.

• crop.aia

the Image Metadata Extension to read the metadata of an image file also might be helpful to get the size of an image

3. see 1.

--
thanks for time, today i'll try it and later i'll post results :D 

--

댓글 없음:

댓글 쓰기