For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > January 2006 > Sending an email from a form on a personal website using SendMail









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sending an email from a form on a personal website using SendMail
©®

2006-01-20, 7:56 am

Can anyone please point me to a recommended tutorial or app that will
help me make my own contact page on a personal website.
1. I am wanting the user to be able to send me a mail from the website.
(I think the average settings are '/usr/lib/sendmail')
2. I need my email address hidden/encrypted - unavailable to spammer
3. The form needs to fit in with the rest of my page design

I tried for over 4 hours yesterday trying to get something working but I
can't get the form to fit in with my page.
Thanks



Adam Plocher

2006-01-20, 6:58 pm

Doesn't this work?

$to = "blah@blah.com";
$title = "Some Subject";
$text = "Here is some text that will be in the body of the email";

mail($to, $title, $text, "From: noreply@blah.com");

Balazs Wellisch

2006-01-20, 9:55 pm

"©®" <news@kidsnews.au.org> wrote in message
news:SPmdnRDzEsgnfk3eRVny2Q@pipex.net...
> Can anyone please point me to a recommended tutorial or app that will
> help me make my own contact page on a personal website.
> 1. I am wanting the user to be able to send me a mail from the website.
> (I think the average settings are '/usr/lib/sendmail')
> 2. I need my email address hidden/encrypted - unavailable to spammer
> 3. The form needs to fit in with the rest of my page design


No need to reinvent the wheel. Try this...

http://php.resourceindex.com/Comple...orm_Processing/

Balazs


finalwebsites.com

2006-01-21, 6:55 pm

or this one:

http://www.finalwebsites.com/snippets.php?id=41

Olaf

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com