Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] php e-mail (ot-sorry)
  • From: steve <fsanta@xxxxxxxxxx>
  • Date: Tue, 30 Apr 2002 18:38:49 +0200
  • Message-id: <200204301630.g3UGTxp16333@xxxxxxxxxxxxxxxxxxxx>
Thanks Kevin. It really does make you wonder how we coped with those awful
perl scripts sitting on servers not too long back!
Cheers, Steve.

On Tuesday 30 April 2002 01:06, you wrote:
> On Monday 29 April 2002 6:08 pm, steve wrote:
> > I have recovered e.g. $message from an html form. What is the php code to
> > e-mail it to myself?
>
> $to="me@xxxxxxxxxxxxx";
> $subject="Email from me";
> mail ($to,$subject,$message);
>
> You can also have an optional fourth argument, for extra headers, eg
> $headers="From: My website form <me@xxxxxxxxxxxxx>";
>
> Kevin

< Previous Next >
This Thread
References