Official Content

Sends a message.

Syntax

&VarBasedOnExtendedDataType.Send(Message)

Type Returned:
Numeric

Where:
Message
    Is a MailMessage type parameter.

Scope

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

Description

MAPISession: If the address of a recipient cannot be solved, a Names window will be shown allowing the user to choose the right recipient among all the possible recipients for the address specified. 
After performing a Send, the immediate sending of emails is done compulsorily. As a result, if a telephone connection to the Internet is being used, dialing will begin when the Send method is called.  

OutlookSession: If a destination address cannot be solved, the editing window will be shown, as if the value of the EditWindow property were 1. 

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

See Also

EditWindow Property
Receive Method
MailMessage Data Type
MAPISession Data Type
OutlookSession Data Type
SMTPSession Data Type

   


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