| re: HTML Forms in email
ben3003 wrote:
[color=blue]
> Hi all,
> I am sending information in a HTML form via emial, along with the
> information is a conformation button that the user can click if they
> wish to accept the job. On clicking this message i want another mil to
> be sent out, however the button that is integrated in the email isn't
> working.
>
> Is this possible?[/color]
yes - but without seeing (a simplified version of) the source I can't really
comment on why.
[color=blue]
> the code for the action of the form is blow..
>
> <?php
> $headers .= "MIME-Version: 1.0\r\n";
> $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
> $message = "<html><body>";
> $message .= "<h1> TEST </h1>
> ";
> $message .= "</body></html>";
>
> mail(someone@local.co.uk, "Complete", "$textfield2, $message", $headers
> );
> ?>[/color]
Right - but you just said the problem was in the the HTNL you sent in the
Email. BTW maybe it's my newsreader, but there should be quotes around the
Email address.
C. |