Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Incident Reports » Incident Reports Addressed for Version 1.03 » View Incident Report |
Serious |
Reported By: Uli Becker Reported On: 2/10/2014 For: Version 1.03 Build 3 |
EWB client code: procedure TLoginForm.Button1Click(Sender: TObject); begin with PostRequest do begin Params.clear; URL := 'modules/sendmail'; RequestContent.text := 'Lorem ipsum dolor sit amet...'; RequestHeaders.Values['Content-Type'] := 'plain/text'; RequestHeaders.Values['Content-Length']:=IntToStr(Length(RequestContent.Text)); Params.add('method=mail'); Execute; end; end; procedure TLoginForm.PostRequestComplete(Request: TServerRequest); begin showmessage(IntToStr(Request.StatusCode)); end; EWB module code: procedure TSendMailModule.EWBModuleExecute(Request: TEWBServerRequest); var TempStrings: TStrings; slLog: TStringList; begin slLog := TStringList.Create; try slLog.Add('Request received'); slLog.SaveToFile('c:\test.log'); finally slLog.Free; end; Request.SendError(200, ''); end;
This web page was last updated on Wednesday, October 30, 2024 at 11:41 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |