Send Method

Official Content
This documentation is valid for:

Sends a message.



Type Returned:

Is a MailMessage type parameter.


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. 

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


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

See Also

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