My question was based on Monte logic which is a bit like fuzzy logic but
more fluffy. Knowing that you can send a post message to a CGI script with
information to then be sent on in an email and also knowing that you can
write CGI in mc then I put 2 and 2 together and come up with 6 (It could be
done in one big script). As I said this is a learning process for me. ;-)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sjoerd Op 't Land
Sent: Thursday, 11 January 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Form to mail
Monte Goulding wrote/ schreef:
> Thanks David it's going to take me a while to get my head around this
stuff.
> Has anyone done this?
I don't quite understand your question before because you have to use a
server always. There are two ways (with some variants) to send e-mail from
within MetaCard
* Via a cgi (script) server -- you don't need an account for this one
+ From within MetaCard -- use a script like 1 (see below)
* Via a smtp server -- you need an account for this one
+ Via the standard e-mail client (like outlook)
-- use script 2 (see below)
+ From within MetaCard -- andu made a nice one for this
-- see http://www.cloud9.net/~undo
Is this what do you want?
Regards,
Sjoerd
========== Script Nº 1 ==========
post "recipient_a=" & urlEncode(field "recipient_a") & "&destnumber=" &
urlEncode(field "destnumber") & "&subject=" & urlEncode(field "subject") &
"&originator_email=" & urlEncode(field "originator_email") & "&body_text=" &
urlEncode(field "body_text") to url "http://cgi.tpc.int/cgi-bin/tpcfax.pl"
if it contains "Your message has been sent by email" then
answer "Message sent."
else
answer warning "Er is een fout opgetreden bij het verzenden."
end if
========== Script Nº 2 ==========
put "mailto:[EMAIL PROTECTED]" into tUrl
if platform() is "MacOS" then send tUrl to program "Finder" with
"GURLGURL"
else launch tUrl with (word 1 to -2 of
queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\"))
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.