Returns the data of the following email in the current session.
If the email has attached files and a directory was specified in the AttachDir property, the attached files are saved on the disk. Otherwise, they are not saved.
&VarBasedOnExtendedDataType.Receive(Message)
Where:
Message
Is a MailMessage type parameter.
Type Returned:
Numeric
Note: This method returns an error code, so it is possible to call it as follows: &Err = &DataType.Receive(Message)