php sending email

PHP coding talk.

Moderator: Moderators

php sending email

Postby webnoobie on Sat Jun 11, 2005 5:34 am

hello,

I would like to know if anyone could please help me. I would like to make a page using PHP that will send an e-mail to a specified email address that is in the script. BUT.... I would like it so that people will sort of submit the following information:
- real name
- forum username
- website name
- website url
- website description

But I would like to use the phpBB templating system and also make it so that any user can fill out the form. can someone help me?
webnoobie
Registered User
Registered User
 
Posts: 366
Joined: Wed Jun 08, 2005 10:38 pm
Location: My Computer

Postby Phantom on Sat Jun 11, 2005 4:05 pm

For this, let's try a combination of things. First off, you'll need this MOD for a blank page. Now, as for the mail system, check out mail() on php.net. This shows how you can send e-mails via php. Simply make a form on the blank page with that MOD I linked you to. If you have any further questions, feel free to ask.
"Best of the best of the best, sir! With honors!" -- MIB
[ jphantom.com ]
Phantom
Registered User
Registered User
 
Posts: 245
Joined: Mon Apr 18, 2005 3:24 am

Postby webnoobie on Sat Jun 11, 2005 6:14 pm

Ok. Thanks!
webnoobie
Registered User
Registered User
 
Posts: 366
Joined: Wed Jun 08, 2005 10:38 pm
Location: My Computer

re: php sending mail

Postby roders22 on Thu Jun 16, 2005 11:13 am

use this
mail("mail@mail.com", "subject", "mail content", "from");
User avatar
roders22
Registered User
Registered User
 
Posts: 141
Joined: Thu Jun 09, 2005 4:33 pm
Location: Mauritius


Return to PHP Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron