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.


    Is a MailMessage type parameter.
Type Returned:


Extended Data Types: MAPISession, OutlookSession, POP3Session
Generators: .NET.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
Note: This method returns an error code, so it is possible to call it as follows: &Err = &DataType.Receive(Message)

See Also