I originally sent this a couple of days ago, but it has never appeared on the list. Apologies if it ends up a double post….
Based on the advice received when I posted this issue, I checked the result immediately after the revmail line was executed. Interestingly, the result-put line was not executed where revmail failed. Where it succeeded, in dev and on mac it was executed and the result was empty. So it seems clear there is a problem, but sadly I have no specific error to report because when it arises, the script terminates. The good news is that using the launch url workaround recommended by Richard (below) worked fine. So anyone encountering the same issue can take this route. Thanks Richard. Why Revmail should fail in the way I have described is beyond me. Maybe brighter coders can take it from here. > On 21 Jun 2015, at 3:15 pm, Richard Gaskin <ambassa...@fourthworld.com > <mailto:ambassa...@fourthworld.com>> wrote: > > One simple workaround is to just use "mailto:" directly with "launch url:", > e.g.: > > put "somea...@somedomain.com <mailto:somea...@somedomain.com>" into tAddress > put "Some Subject Line" into tSubject > put "This is the body of the email" into tBody > put "mailto:"& tAddress &"?subject="& tSubject &"&body="& tBody \ > into tURL > launch url tURL Best Wishes, David Glasgow <http://www.i-psych.co.uk/>i-psych.co.uk <http://www.i-psych.co.uk/> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode