Used to use it no problem... now the stack is crashing, no result, nada, bugger all !
Code: Select all
case "mail"
if char 1 to 5 of pBarCode = "mail:" then put 6 into charNumber
if char 1 to 7 of pBarCode = "mailto:" then put 8 into charNumber
put char charNumber to (the number of chars of pBarCode) of pBarCode into theEmailAddress
iphoneComposeMail , theEmailAddress
if the result = "sent" then put "Your Email message has been sent..." into theResponse
if the result = "failed" then put "The Email failed to be sent..." into theResponse
if the result = "saved" then put "Your Email has been saved..." into theResponse
if the result = "cancel" then put "You cancelled the Email" into theResponse
answer theResponse with "OK"
break
dixie