# This file will test the tkmsmail extension. # If you are logged into your mailer, the message will just be queued for # delivery if [ catch { package require mail } err ] { if [ catch { load tkmsmail.dll } err ] { error {Can't find the tkmsmail.dll. Load it by hand in a wish and then source this file} } } mail send -to mschwart@nyx.net -subject "Tried out the mail extension" -body { Obviously, if you got this, it worked! Thanks! } # The following example is similar, but always invokes a mail dialog # (if its lines are uncommented, that is) # # mail send -debug -to mschwart@nyx.net -subject "Tried out the mail extension" -body { # Obviously, if you got this, it worked! # Thanks! }