
-----------------------------------
the_short1
Sat Feb 14, 2004 8:33 pm

[Tutorial] Get the user to send you an email, open website
-----------------------------------
This program asks the user: 'Send me an email' and will repeatedly ask this question until you enter 'y' or 'n'

typing 'y' will spawn a "New Email Message" window using the default mail client on the users computer, i used this in my MSN 6 Emotion Showcase program 
var yn : string := "" 
%start of program credits or whatever%
loop
    locate (6, 1)
    put "Send Me An Email (y/n): " ..
    get yn
    if yn = "y" then
        if not Sys.Exec ("mailto:uremailhere@mail.com") then % must have this in an if statement
            put "New Email Msg Failed To Create" ..
        end if
        exit
    else
        exit
    end if
end loop
%Rest of Program Credits or whatever%


if u have any questions or comments dont be affraid to ask

Mod Edit: doesn't seem like a tutorial to me, Moved
