EmailMessage
EmailMessage PHP Methods
attachmentCount() v5
Number of attachments belong to a message
PARAMETERS:
NONE
RETURN VALUE:
int = Number of attachments getAttachment(int $mPart) v5
Gets the email attachments
PARAMETERS:
$mPart = int, Number of attachment parts
RETURN VALUE:
string = Email attachments getAttachmentFilename(int $mPart) v5
Gets email attachment file name
PARAMETERS:
$mPart = int, attachment part number
RETURN VALUE:
string = email attachment file name getAttachmentLinks() v5
Gets email attachment links
PARAMETERS:
NONE
RETURN VALUE:
string = email attachment links getAttachmentSize(int $mPart) v5
Gets an attachment file size
PARAMETERS:
$mPart = int, Attachment file part number
RETURN VALUE:
string = attachment file size getBodyFullBR() v5
Fix email body line breaks
PARAMETERS:
NONE
RETURN VALUE:
string = email body after fixing the line breaks getBodyText() v5
Gets email body text content
PARAMETERS:
NONE
RETURN VALUE:
string = email body text content getBodyTextBR() v5
Fix email body new lines
PARAMETERS:
NONE
RETURN VALUE:
string = email body after fixing the new lines getFromAddress() v5
Gets sender address as found in email header
PARAMETERS:
NONE
RETURN VALUE:
string = Sender address as found in email header getFromEmail() v5
Gets sender email address as found in email header
PARAMETERS:
NONE
RETURN VALUE:
string = Sender email address as found in email header getFromName() v5
Gets sender name as found in email header
PARAMETERS:
NONE
RETURN VALUE:
string = Sender name as found in email header getFullHeader() v5
Gets email message full header
PARAMETERS:
NONE
RETURN VALUE:
string = email message full header getHeader() v5
Gets email message header
PARAMETERS:
NONE
RETURN VALUE:
string = email message header getHTML() v5
Gets email body as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = email body as HTML getMessageID() v5
Gets email message ID as found in its headers
PARAMETERS:
NONE
RETURN VALUE:
string = email message ID as found in its headers getNum() v5
Gets message number
PARAMETERS:
NONE
RETURN VALUE:
int = message number getPart(int $mPart) v5
Gets attachment part
PARAMETERS:
$mPart = int, Attachment file part number
RETURN VALUE:
object = attachment part getStructure() v5
Gets email structure
PARAMETERS:
NONE
RETURN VALUE: getSubject() v5
Gets email subject content as found in email headers
PARAMETERS:
NONE
RETURN VALUE:
string = email subject content as found in email headers getTime() v5
Gets The message date/time as found in its headers
PARAMETERS:
NONE
RETURN VALUE:
string = The message date/time as found in its headers hasHTML() v5
Checks if the email has HTML supported
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the email has HTML supported, false otherwise hasResponses() v5
Checks if the email has responses
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the email has responses, false otherwise loadMessage($mBox, $mNum) v5
Load a message content
PARAMETERS:
$mBox = Message content
$mNum = int, Message number
RETURN VALUE:
void setToEmail($nToEmail) v5
Sets recepient email address
PARAMETERS:
$nToEmail = string, recepient email address
RETURN VALUE:
voidEmailMessage PHP Variables
🔎︎ %l4610%