Why not send him a acknowledgement, like so

<HTML>

<HEAD>

<TITLE>Jersey Hotels - Acknowledgement</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<CENTER>
<FONT SIZE=+3 COLOR="#FF0000">Jersey Hotels</FONT>
<FONT SIZE=+1><P>
Thank-you for your interest<BR>
Your entries have been submitted & will be dealt with promptly
</FONT>
<P>

[ <A HREF=/jsyinfo/index.html">Jersey Information</A> ]<P>

</CENTER>

</BODY>

</HTML>

Rodney Myers wrote:

> Hello,
>
> My script creates an email using sendmail.
> The script is not called directly from the browser but from another server
> as as the indirect result of a submit to that server.
>
> So there is no need to write anything to the browser, nor to redirect the
> browser. But I seem to a get a server 500 error unless I do one of those
> things.
>
> This is my current ending:
>
> print MAIL "blah\n";
> print MAIL "more blah\n";
> close (MAIL);
> $url="http:\/\/www.somedomain";
> print "Location: $url\n\n";
> exit;
>
> I suspect there is a better way....?
>
> TIA
>
> Rodney
> Oxford, England.

Reply via email to