Sub Button1 Click
Dim OutM As OutputStream
Dim BitmapM As Bitmap
File.MakeDir(File.DirRootExternal, "/Email")
BitmapM.Initialize(File.DirAssets, "Jolly.jpg")
OutM=File.OpenOutput(File.DirRootExternal & "/Email","Jolly.jpg",False)
BitmapM.WriteToStream(OutM, 100, "JPEG")
OutM.Close
Dim Message As Email
Message.Attachments.Add(File.Combine(File.DirRootExternal & "/Email","Jolly.jpg"))
Message.Subject = "Hello!!"
Message.Body = "Bla,bla,bla"
StartActivity(Message.GetIntent)
End sub