GetResponse method

Official Content
This documentation is valid for:

Deprecated: Since GeneXus 15.

Returns the HTML code that is returned by the Web object specified in the Object property of the variable based on the WebWrapper data type.

Syntax

&VarBasedOnWebWrapper.GetResponse()

Scope

Extended Data Types: WebWrapper    
Generators: .NET.NET Framework, Java, Ruby (up to GeneXus X Evolution 3)

Description

The GetResponse method must always be assigned to the HTMLText property of a variable based on the MailMessage data type as shown in the following code:

&Wrap.BaseURL = “http://myserver/mysystem/”                //&Wrap: WebWrapper data type
&Wrap.Object = Create(Hnotify, &CustomerId)
&MailMsg.To.New(&CustomerName, &CustomerMail)              //&MailMsg: MailMessage data type
&MailMsg.HTMLText = &Wrap.GetResponse()
&Oulook.Send(&MailMsg)                                     //&Outlook: OutlookSession data type

See Also

WebWrapper
HTMLText