Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Internal Application Error
| Subject: | Re: Internal Application Error |
| Posted by: | "e1" (than..@but-no-thanks.com) |
| Date: | Tue, 5 Feb 2008 12:07:57 |
mark horrocks wrote:
> I am using Indy 10 and D7 to make an email client in an ISAPI.
>
> The app works fine, emails get sent Ok as expected, but the Response is
> never sent back, just a message that says Internal Application Error.
>
> Any ideas as to why this is? The ISAPI is compiled with FastMM4.
modify your code to see the error:
procedure TWebModule1.WebModule1waSendMailAction(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
begin
try
// your code here
except
on E:Exception do
Response.Content := E.Message;
end;
end;
-ioan
none