Charset Property
The Charset property contains the charset of the email.
Syntax
Possible Values
Long value that specifies or retrieves the charset.
|
The property is read/write.
Remarks
Possible values are:
65000 : Unicode (UTF-7)
65001 : Unicode (UTF-8)
28591 : Western European (ISO-8859-1)
28592 : Central European (ISO-8859-2)
28593 : Latin 3 (ISO-8859-3)
28594 : Baltic (ISO-8859-4)
28595 : Cyrillic (ISO-8859-5)
28596 : Arabic (ISO-8859-6)
28597 : Greek (ISO-8859-7)
28599 : Turkish (ISO-8859-9)
28605 : Latin 9 (ISO-8859-15)
Examples
The following example sends an email with a Central European charset.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
mymail = SiteKiosk.Email.CreateJob(false);
mymail.POPServer = "mypopserver.com";
mymail.POPPort = 110;
mymail.Username = "myusername";
mymail.Password = "mypassword";
mymail.SMTPServer = "mysmtpserver.com";
mymail.SMTPPort = 25;
mymail.Authentication = 2;
mymail.Charset = 28592;
mymail.SetSender("me@myserver.com", "My name");
mymail.AddRecipient("recipient@server.com");
mymail.Subject = "This is the subject.";
mymail.PlainBody = "This is the content.";
mymail.Send(0, false, true);
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top