SmtpClient: An extension to send emails using SMTP server

You are trying to use Do it inside an event/procedure that requires an input, probably in your case the image from the camera. This, however, will only exist inside the event, you cannot run a Do it on it. Set image to a label then you can see the output of image.

im afraid i really dont follow but according to this msg it should be like this?

could somebody help? i only have 15 mins remaining for my deadline. (please be paitent with me im rly new to mit app inventor)

Can somebody help? (i realize i am whining but i realy need to finish this and im past the deadline already)

show a screenshot of your updated blocks
Taifun

You changed the blocks according to Tim's advice, now take a picture in the app and show what you got in the label5.


could u just tell me what blocks to change

i got confused as to what he was saying

Unbenannt2

Taifun

Screenshot (1036)

i now get this instead of a path

When i said it worked i didnt realize that the image coming every time was the same one as i had put that path instead of diffrent pics coming according to the input

forgot to tag my bad :arrow_up:

@Taifun pls reply i have to finish this please

well, obviously you first have to take a picture...
then use Do it onto the get Label5.Text to get a Do it result
then you can try @Kevinkun 's suggestion and remove the file:// before sending the email... you can use the replace block from the text drawer for that...

Taifun

in the app while using it i cant change the code everytime i take a new pic tho so...

How will i automatically put in the do it result if that is possible

you have to get it running successfully only once...
up to now you did not find the issue...
is it the file path, is it something else? to find it out, you use Do it... are you able to show us a reasonable Do it result?

see also this remark from post 134

Taifun

see also post 45 and 47... we were already talking about the same thing previously

Taifun


Even after this code it comes wrong and gives the same error
but before while using this code i think i had one success

Also where would u put the blocks in post 47

ok so it works now but how will u automate it changing, so where would u put the blocks in post 47

you got it working manually for that picture, great...
so what about using the replace all block from post 47 together with Label5.Text to get it running for all pictures?
Taifun