Priority Property
The Priority property contains the priority of the email.
Syntax
EmailJob.Priority [=long]
|
Possible Values
Long value that specifies or retrieves the priority.
|
The property is read/write.
Remarks
Possible values are 1 (high), 3 (normal) and 5 (low).
Examples
The following example sends an email with high priority.
<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.Priority = 1;
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