[Cialug] E-mail response

Jerry Weida cialug@cialug.org
Tue, 8 Mar 2005 15:20:27 -0600


Yeah, pretty simple.

<?php
$message = "This is your sample message";
$to = "webmaster@example.net";
$subjet = "This is the subject";
mail($to, $subject, $message);
?>

There's a lot more you can do, but this is the simplest implemenation.

On Tue, 8 Mar 2005 13:17:24 -0800 (PST), David Stout
<ragbrai65@yahoo.com> wrote:
> Is is simple to do using PHP? 
> 
> Jerry Weida <jweida@gmail.com> wrote: 
> Straight HTML? I'm afraid not. You would need perl, php, or even a
> shell script to interact with the mail system. This might be possible
> with SHTML, but I don't believe so.
> 
> 
> On Tue, 8 Mar 2005 13:12:17 -0800 (PST), David Stout
> wrote:
> > I have a web form and when the user clicks the submit button I would like
> to
> > have it send the contents of the form to an e-mail address. Can this be
> done
> > in HTML?
> > 
> > David Stout
> > Business Forms Analyst & Student
> > 
> > ________________________________
> > Celebrate Yahoo!'s 10th Birthday! 
> > Yahoo! Netrospective: 100 Moments of the Web
> > ________________________________
> > Celebrate Yahoo!'s 10th Birthday! 
> > Yahoo! Netrospective: 100 Moments of the Web 
> > 
> >
> _______________________________________________
> Cialug mailing list
> Cialug@cialug.org
> http://cialug.org/mailman/listinfo/cialug
> 
> 
> David Stout
> Business Forms Analyst & Student
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com