But, I decided to "transcend the local configuration" as the prospect of mentoring 20-30 team players through getting their system set up correctly was way too scary.
Many still don't know
Mac: "Finder? What do you mean by "Finder?"
Windows: " I see three different "My Documents" folders. Which should I use? How will I know if I am in the same one later?" (and a lot more.... our windows users require 85% more support than our mac users)
So, created a very simple xTalk CGI on our web server and will have my app do an HTTP Post to this cgi. This should be rock solid. If their browser works, this works... simple.
#!/usr/local/bin/revolution ############# Send email to admin ############## ## this CGI reads form input from a form web page or any ## correctly urlEncoded name=value pairs posted from ## a rev app ## and then sends the email out
on startup
if $REQUEST_METHOD is "POST" then
repeat until length(tDataIn) >= $CONTENT_LENGTH
read from stdin until empty
put it after tDataIn
end repeat
split tDataIn by "&" and "="
put "/usr/sbin/sendmail -t" into mprocess
open process mprocess for write
write "From:" && (urlDecode (tDataIn["from"]))& cr to process mprocess
write "To:" && "[EMAIL PROTECTED]" & cr to process mprocess
write "Subject:" && (urlDecode (tDataIn["subject"])) & cr & cr to process mprocess
write (urlDecode (tDataIn["body"])) & cr to process mprocess
close process mprocess
Put "Email was sent successfully." into tResponse
put "Content-Type: text/html" & cr
put "Content-Length:" && the length of tResponse & cr & cr
put tResponse
end if
end startup
Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED]
www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org
On Jan 19, 2005, at 8:55 AM, Ken Norris wrote:
OOPS! Sorry, forgot to change-out the RE header,
Hi David, Sivakatirswami, et al.
Sivakatirswami wrote:
What exactly does the Mac need to ensure that there is an email client
automatically will be invoked by revMail? I can't find any preference
in OS X for "default mail app" that requires setting.
??
Very simple. Panther:
1) Open Mail and select Preferences from the menu.
2) From the Prefs window, select the "General" icon at top left.
3) Click the Default Email Reader popup and choose select.
4) You should get a list of applications. Choose the email reader you want (assuming it is installed).
HTH, Ken N.
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
