Description: For more information, please refer to Jmail description, I think this is enough.
Please don't ask me if you encounter problems, because of the server reasons, I just use cdonts, Sorry ...
(1) Body (letter body): Strings, such as: jmail.body = "This can be the form of the user fill in, which can be taken from from."
(2) Charset (character set, default "US-ASCII"): Strings, such as: jmail.charset = "US-ASCII"
(3) ContentTransferencoding: String Specifies the encoding mode when content transfer, the default is "quoted-printable" such as: jmail.contentTransferencoding = "base64"
(4) ContentType (the content of the letter is "text / place": String If you send mail in HTML format, change it to "text / html". Such as: jmail.conteType = "text / html"
(5) ENCODING: String Set attachment encoding mode (default is "base64). You can choose to use" Base64 "," uuencode "or" quoted-printable "such as: jmail.Encoding =" base64 "
(6) Log (Jmail created log, prerequisite to true, see below): String, such as: Listing log information using the Response.write (Jmail.log) statement.
(7) Logging (Whether to use a log): Boolean such as: jmail.logging = TRUE
(8) Recipients: String read-only properties, return all recipients such as: response.write (" Jmail. Recipients ");
(9) Replyto (specify another reply address): string, such as: jmail.replyto = "renwang@163.com"
(10) Sender (sender's email address): string such as: jmail.sender = "renwang@163.com"
(11) Sendername (sender's name): String, such as: jmail.sendername = "renwang"
(12) ServerAddress: String You can specify multiple servers, open with a semicolon point. You can specify the port number. If ServerAddress keeps blank, Jmail will try a remote mail server and then send it directly to the server. Such as: jmail.serveraddress = "mail.263.net.cn" (13) Subject (set the title of the message, you can be taken from from.): Strings, such as: jmail.subject = "Guest feedback form"
(14) Add file attachments to emails such as Jmail.Addattachment ("C: / Anfile.zip")
(15) AddCustomAtTachment (filename, data) Adds a custom attachment. Such as: Jmail.Addcustomattachment ("anyfile.txt", "contents of file");
(16) Addheader (HEADER, VALUE) Add user-defined letters headers. Such as: Jmail.Addheader ("Originating-IP", "192.168.10.10");
(17) AddRecipient: Strings such as: Jmail.AddRecipient ("info@dimac.net");
(18) AddRecipientBCC (Email), Delivery: such as: jmail.addrecipientBCC ("renwang@163.com");
(19) AddRecipientcc (email), Cc Recipient:, Jmail.AddRecipientcc ("Anone@mailhost.com")
(20) AddUrlattachment (URL, document name) download and add an attachment from the URL. The second parameter "document name" is used to specify the file name after the letter is received. Such as: jmail.addurlattachment ("http://www.fuo.cc/perl/files/jmail.zip", "jmail")
(21) appendbodyfromfile (file name), use the file as a letter text: such as Jmail.AppendbodyFromFile ("c: / yafile.txt")
(22) AppendText (text) Added the textual content of the letter, such as increasing greetings or other information. Such as: Jmail.AppendText ("Welcome to this site!") (23) Close (), forced JMAIL Turn the buffer connection with the mail server: such as: jmail.close ()
(24) Execute (), sending email, as: jmail.execute ()