Sends a message.
&VarBasedOnExtendedDataType.Send(Message)
Type Returned:
Numeric
Where:
Message
Is a MailMessage type parameter.
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)
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.
EditWindow Property
Receive Method
MailMessage Data Type
MAPISession Data Type
OutlookSession Data Type
SMTPSession Data Type