Email contents of forms reader filled via PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
176401
Forum Newbie
Posts: 1
Joined: Sat Mar 27, 2010 10:37 pm

Email contents of forms reader filled via PHP

Post by 176401 »

Hi there
I am a new user of php. I'd like to make a function that the contents of a form on website can be sent by email, in a text or html format, not using database like myaql after Submit. My server does not support Mysql. I need your help with PHP Coding as I do not know myself.
:?:
Thank u anyway.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Email contents of forms reader filled via PHP

Post by Christopher »

See the manual for the mail() function.

http://us.php.net/manual/en/function.mail.php
(#10850)
DaiLaughing
Forum Commoner
Posts: 76
Joined: Thu Jul 16, 2009 8:03 am

Re: Email contents of forms reader filled via PHP

Post by DaiLaughing »

Your server does need to be set up to send mail but if it is mail() is very easy to use.
Post Reply