Receive Method

Official Content
This documentation is valid for:
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.


Type Returned:

Is a MailMessage type parameter.

This method returns an error code, so it is possible to call it as a (&Err = &DataType.Receive(…..)) function.


Extended Data Types: MAPISession, OutlookSession, POP3Session
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.