W3 jmail Chinese instructions
W3 JMAIL instructions
Jmail.smtpmail
Body: String (V3.0) Letter, Text, using appendtext addresses such as: jmail.body = "Hello World" Charset: String (v3.0) character set, default is "US-ASCII" such as: Jmail. Charset = "US-ASCII"
ContentTransferencoding: String (v3.0) Specifies the encoding mode when content transfer, the default is "quoted-printable" such as: jmail.contentTransferenCoding = "base64"
ContentType: String (v3.0) Letter's ContentYpe. The default is "text / place", but can be set to the type you want. If you send an email in HTML format, change it to "text / html". Such as: jmail.contenttype = "text / html" DeferredDelivery: Date (v3.0) Settings Deferred Send. If the mail server supports, the message will send this time as: (JavaScript) Jmail.deferRedDelivery = New Date (2000, 02, 17) .Getvardate (); eNCoding: String (v3.0) This property can be used to change attachment encoding mode (the default is "base64). You can choose to use" Base64 "," uuencode "or" quoted- Printable "such as: jmail.Encoding =" base64 "error: Integer (v3.0) If jmail.sile is set to true, errorcode contains error code such as response.write (jmail.errorcode); errorMessage: String (V3. 0) If jmail.silent is set to true, the error message is included, such as: response.write (jmail.ErrorMessage); ErrorSource: String (v3.0) Contains the error source if jmail.silent is set to true, such as: Response. Write (jmail.erroSource); IsoEncodeHeaders: Boolean (v3.0) is encoded into ISO-8859-1. The default is true, such as: jmail.isoencodeheaders = falselazysend: Boolean (v3.0)
This property specifies whether Jmail will wait until Mail sent and then return, or buffer this message and send it in the background. However, set this property, you can't control the error message. Note: If this option is selected, the property ServerAddress will be invalid. Lazysend will determine the mail server through the DSN query, which may have a problem. Such as: jmail.lazysend = true; log: string (v3.0) Jmail created log, if the Loging property is set to true, such as: response.write (jmail.log); logging: boolean (v3.0) uses logs such as : Jmail.logging = truemaildomain: String (v3.0) this can be used to override the ehlo / helo statement to your mailserver such as: jmail.mails = "Hello.World.com" MIMEVERSION: STRING (V3.0) Specify MIME version. The default is "1.0" such as: jmail.mimeversion = "1.0" priority: integer (v3.0) priority. Range 1 high priority between 1-5. Some mail programs are urgent 2 is also high priority 3 Ordinary priority 4 low priority 5 minimum priorities such as Jmail.Priority = 3recipients: string (v3.0) read-only properties, return all recipients such as: Response.write (" Jmail. Recipients " "); Replyto: String (v3.0) Specifies an optional reply address such as: jmail.replyto =" president@dimac.net "ReturnReceipt: Boolean (v3.0) Specify whether the sender needs a reply receipt. Lack The province is false such as: Jmail.ReturnReceipt = TRUESENDER: STRING (V3.0) Specify the sender's email address, such as: jmail.sender = "Batman@dimac.net" Sender: String (v3.0) specifies the sender Name: jmail.sendername = "Bat Man" ServerAddress: String (v3.0) Specifies the address of the mail server. You can specify multiple servers and open with a semicolon point. You can specify the port number. If ServerAddress keeps blank, Jmail will try to resolve the remote mail server and then send it directly to the server.
Such as: jmail.serveraddress = "mail.mydom.net; mail2.mydom.net:2500" SILENT: BOOLEAN (V3.0) If set to true, Jmail will not throw an exception error. Jmail.execute () will be based on operation Result Returns True or False, such as: Jmail.silent = TrueSimpleLayout: Boolean (V3.0) Set to True, reduce the Header Letterhead generated by Jmail, such as: jmail.simplelayout = TrueSubject: String (v3.0) setting message : JMail.Subject = "Dimac rocks big time!" UsePipelining: Boolean (v3.0) Overrides if JMail should use pipelining on a server that supports it, such as:. JMail.Pipelining = false AddAttachment (FileName, [ContentType]) (v3 .0) Add file attachments to letters such as Jmail.Addattachment ("c: //autoexec.bat"); AddCustomAtTachment (FileName, DATA) (V3.0) Add custom attachment. This can be used to attach "Virtual Files "Like a generated text string or certificate etc. such as Jmail.Addcustomattachment (" Readme.txt "," Contents of File "); AddHeader (XHEADER, VALUE) (V3.0) Add user-defined X-header to Message : Jmail.addheader ("Originating-IP", "193.15.14.623"); AddnativeHeader (V3.0) Add a letter such as Jmail.AddnativeHeader ("MTA-settings", "route"); AddRecipient (Email) (V3.0) Added recipients such as: Jmail.AddRecip IENT ("info@dimac.net"); AddRecipientBCC (email) (v3.0) Added prune recipients such as: jmail.addrecipientBCC ("someone@somedomain.net"); AddRecipientcc (email) (v3.0) increase Cc recipients such as: Jmail.Addrecipientcc ("someone@somedomain.net"); AddRecipientex (email, name) Add a name-mentioned recipient as: Jmail.AddRecipientex ("Info @ Dimac. Net "," DIMAC INFO "); Addurlattachment (BSTRURL, BSTRATCHAS, [BSTRAUTH]) (V3.0) Download and add an attachment from the URL. The second parameter" attachs "is used to specify the letter after receiving the letter. File name. The third optional parameter is used to optionally WWW-identification. Such as: Jmail.AddurlatTachment ("
http://download.dimac.net/jmail/jmail.exe "," jmail.exe ") appendbodyfromfile (filename) (V3.0) Add a file content to the body, such as: jmail.appendbodyfromfile (" C: / /mytext.txt "); appendtext (v3.0) The textual content of the additional letters such as: Jmail.AppendText (" Text Appended To Message Body "); Clearattachments () (v3.0) Clear attachments list such as: Jmail .Clerattachments (); ClearCustomHeaders () (v3.0) Clear all custom letterheads such as Jmail.clearcustomHeaders (); ClearRecipients () (v3.0) Clear recipient list such as: jmail.clearrecipients (); close () (v3.0) Force JMAIL Turn the buffer connection with the mail server, such as: jmail.close (); execute (): Boolean (v3.0) Execute the sending email, as: jmail.execute (); extractemailaddressesFromurl (Bstrurl [BSTRAUTH]) (V3.0) Download and add Email addresses from a URL, such as: Jmail.extractemailAddressFromurl ("http://duplo.org/generateemaillist.asp"); getMessageBodyFromurl (BSTRURL, [BSTRAUTH]) (V3.) (V3. 0) Clear the text of Message and replace it with the content of the URL. ContentType automatically sets the ContentYP of the URL. The second parameter (login and password) is optional. Such as: jmail.getMessageBodyFromurl ("http://duplo.org/ "" Login: Password ")
LogcustomMessage (MESSAGE) (V3.0) Add user-defined messages to the JMail log. Only when the property Loging is set to TRUE, this feature can serve as: Jmail.LogcustomMessage ("Hello World");