<HTML>
<Head>
<Title> confirmation </title>
<Body>
<%
Set jmail = server. Createobject ("jmail. smtpmail ")
'This is my local SMTP Server
Jmail. serveraddress = "mail.yourdomain.com: 25"
'This is me ....
Jmail. Sender = "myemail@mydomain.net"
Jmail. Subject = "Here you go ..."
'Get the recipients mailbox from a form (note the lack of a equal sign ).
Jmail. addrecipient "mum@any.com"
Jmail. addrecipient "dad@some.com"
'The body property is both read and write.
'If you want to append text to the body you can
'Use jmail. Body = jmail. Body & "Hello world! "
'Or you can use jmail. appendtext "Hello world! "
'Which in your cases is easier to use.
Jmail. Body = "Here you go. Your request has been approved "&_
"And the program is attached to this message"
'1-highest priority (urgent)
'3-normal
'5-lowest
Jmail. Priority = 1
Jmail. addheader "originating-IP", request. servervariables ("remote_addr ")
'Ust make sure that IUSR _???? Has access to the following files.
Jmail. appendbodyfromfile "E:/mail/standard_footer.txt"
Jmail. addattachment "E:/products/myproduct.exe"
'Send it...
Jmail. Execute
%>
<Center>
An e-mail has been sent to your mailbox (<% = request. Form ("email") %> ).
</Center>
</Body>
</Html>