I tried it with png and jpeg, changed folders (documents/engine), disconnected usb.
Code: Select all
export snapshot from this card to FILE (specialFolderPath("documents") & "/Formular.jpg") as jpeg
if the result <> empty then
answer "ERROR:" && the result
exit to top
end if
#put url("binfile:" &specialFolderPath("documents") & "/Formular.png") into tAttachment["data"]#binär
put specialFolderPath("documents") & "/Formular.jpg" into tAttachment["file"]#direkt
put "image/jpeg" into tAttachment["type"]
put "Formular.jpg" into tAttachment["name"]
put "Formular" into tSub
put "ok@ok.de" into tRep
put empty into tCCS
put empty into tBCCS
put "Formular vom "&the internet date into tBody
mobileComposeMail tSub, tRep, tCCS, tBCCS, tBody, tAttachment
Help appreciated..