User Tools

Site Tools


No renderer 'pdf' found for mode 'pdf'
en:code:data:mailattachment

MailAttachment

This object represents an attachment to a Mail.

Functions

MailAttachment

Constructor function.

Syntax

var myObject = new MailAttachment();
var myObject = new MailAttachment(parameters);

Arguments

  1. parameters - (object) parameters

Methods

clone

Returns a copy of this MailAttachment.

Syntax

myObject.clone();

Returns

  • (MailAttachment) a copy of this MailAttachment

Example

var copyOfMyObject = myObject.clone();

equals

Returns true if this MailAttachment and another are containing the same data.

Syntax

myObject.equals(other);

Arguments

  1. other - (MailAttachment) another MailAttachment

Returns

  • (bool) true if other is referencing the same process

Example

if(myFirstObject.equals(mySecondObject))
	//Do something

toString

Returns a string representing this MailAttachment.

Syntax

myObject.toString();

Returns

  • (string) a string representing this MailAttachment

Example

Console.print(myObject.toString());

Notes

This method is automatically called when trying to convert a MailAttachment to a string.

Enumerations

KillMode

Policy to use when trying to kill a process.

Values

  1. Graceful: Linux: send a SIGTERM signal Windows: close all windows owned by this process
  2. Forceful: Linux: send a SIGKILL signal Windows: use TerminateProcess to kill this process
  3. GracefulThenForceful: try to kill the process using the graceful technique, wait for timeout and kill it using the forceful technique

Priority

A process priority.

Values

  1. AboveNormal: above normal
  2. BelowNormal: below normal
  3. High: high
  4. Idle: idle
  5. Normal: normal
  6. Realtime: realtime
en/code/data/mailattachment.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1