954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP Email

Hi,
I am new to PHP and still am learning so i was just wondering that how would i send email through PHP because i was making a program that askes the use for email and send it to me so i can respong to them

ashneet
Junior Poster
147 posts since Jun 2005
Reputation Points: 10
Solved Threads: 1
 
Hi, I am new to PHP and still am learning so i was just wondering that how would i send email through PHP because i was making a program that askes the use for email and send it to me so i can respong to them
mail("send@to.com","subject","body");


http://us3.php.net/manual/en/function.mail.php

PivotalWebHost
Newbie Poster
2 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Once you get the hang of that you'll probably want to create html emails, rather than do it yourself I recommend phpMailer . It's free

sarahk
Junior Poster
144 posts since Apr 2005
Reputation Points: 10
Solved Threads: 1
 

Thanks a lot Thats Helps

ashneet
Junior Poster
147 posts since Jun 2005
Reputation Points: 10
Solved Threads: 1
 

isnt squirrelmail php or am i wrong i dont really use it but i have it on my site

Gargen
Light Poster
28 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Squirrelmail is different again. It's PHP but it's for managing your pop3 account and sending new email - not for automated sending

sarahk
Junior Poster
144 posts since Apr 2005
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You