company logo

Email :: getMail - Receive email from server and analyze

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. iPosition must range between 1 and mailCount() .

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 email position is the position of the email in the server queue.

  • iPosition - Position in collection

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