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

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

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

Thanks a lot Thats Helps

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.