Official Content

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.

Syntax

&VarBasedOnExtendedDataType.Receive(Message)
 
Where:
Message
    Is a MailMessage type parameter.
 
Type Returned:
Numeric

Scope

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

   


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant