home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
CHIPCD_9_99.iso
/
software
/
serwery_www
/
websuite
/
websuite.exe
/
SENDMAIL.AP_
/
SENDMAIL.AP
Wrap
Text File
|
1999-01-12
|
922b
|
39 lines
<[
// SENDMAIL.AP
// (c) 1998 by SmartDesk, Inc., All Rights Reserved
//
// You are free to use this code without charge provided you
// agree to abide by the terms and conditions of the licensing
// agreement located on the SmartDesk web site (www.smartdesk.com).
LIBRARY sdmail
session = new( "session", param( 1 ), param( 2 ) )
mail = new( "sendmail", session )
// initialize mail debugging to display connection details in the output window
mail.debug = 1
// get the variables from the command line
mail.GetVars( )
// customize any internal class variables here
// mail.to = ""
// mail.tohost = ""
// mail.from = ""
// mail.fromhost = ""
// mail.subject = ""
// mail.msg = ""
// mail.port = 25
// mail.defserver = "mail"
// validate and send the mail
// display conversation details
! webHeader( )
! mail.send( )
! webFooter( )
return( 1 )
]>