Set JMail = Server.CreateObject ("Jmail.smtpmail")
' This is I local SMTP server
jmail.serveraddress = "Mail.yourdomain.com:25"
' This is me ....
Jmail.sender = "Myemail@mydomain.net"
Jmail.subject = "Here's your 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 is both read and write.
' If you are want to append text to the body can
' Use Jmail.body = jmail.body & ' Hello world! '
' Or you can use Jmail.appendtext ' Hello world! '
' Which in many cases are easier to-use.
Jmail.body = "Here's your go." Your request has been approved "&_
"And the program are attached to the"
' must make sure this IUSR_ has access to the following files.
Jmail.appendbodyfromfile "E:mailstandard_footer.txt"
Jmail.addattachment "E:productsmyproduct.exe"
' Send it ...
Jmail.execute
%>
<center>
An e-mail has been sent to your mailbox (<%=request.form ("email")%>).
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.