How to attach images with mobileComposeMail? I tried so many times but I couldn't make it.. I can't find what is wrong with my code..
Please help if anyone knows the solution.
Code: Select all
on mouseUp
export snapshot from rect 0,0,100,100 of this card to url ("binfile:"&specialFolderPath("documents")&"/Pic.jpg") as JPEG
put specialFolderPath(("documents")&"/Pic.jpg") into tAttachment["data"]
put "image/jpg" into tAttachment["type"]
put "myImage" into tAttachment["name"]
mobileComposeMail ,,,,,tAttachment
end mouseUp
Louis