html forms vs revlets

Mark Wieder mwieder at ahsoftware.net
Thu Sep 10 12:31:14 EDT 2009


Ron-

Thursday, September 10, 2009, 6:14:31 AM, you wrote:

> work. This fails. Any hints?

>   get shell("echo -e" && "mymessage" && "| mail -s" && "thesubject" &&
> "mymail at gmail.com" && "-- -f" && "mymail at gmail.com"

Here's what I do:

get shell("mail -s" \
    && quote & tSubject & quote \
    && tEmailAddress \
    && "-- -f" & tContactEmail \
    && "<" && tTempFile)

where tSubject is a var containing the subject line
tEmailAddress is the "To:" address
tContactEmail is the "From:" address
and tTempFile is a text file containing the body text.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list