company logo

Email :: getMail - Receive email from server and analyze

The function requests the email from the email server and analyzes different email parts in order to be loaded to the email object instance.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Email  :: getMail ( int32 iPosition )

The function requests the email at position iPosition from the email server. The email will be analyzed and class properties as subject, body, html_body, sender and attachments are filled. The email position iPosition is the position of the email in the server queue and must range between 1 and mailCount().

  • iPosition - Position in collection

    The position of an element in a collection is beginning with 0 for the first element.