getIncomingEmail

Availability

This routine is available starting with Power Scripts™ 4.0.0 (server).

Syntax

getIncomingEmail()

Description

Retrieves a structure containing information about the incoming email such as sender, recipients, subject, or body.

Return value

A IncomingEmail value containing email data.

Example

IncomingEmail email = getIncomingEmail();
if(email.from != "jira-support@kepler-rominfo.com") {
	// create issue
}

See also