W3 JMAIL use example
"Example of use"
Set jmail = server.createObject ("jmail.smtpmail")
'This is my local smtp server jmail.serveraddress = "mail.yourdomain.com:25"
'This is me .... jmail.sender = "11830@emil.com.cn" jmail.subject = "here you go ..."
'Get the recipients mailbox from a form (Note The lack of a equal sign). Jmail.addrecipient "11830@emil.com.cn" jmail.addrecipient "11830@email.com.cn"
'The body property isboth 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 Many 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")
'Must 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
%>
An E-mail Has Been Sent to Your Mailbox (<% = Request.form ("email")%>).
center> body> html>