tags:

views:

14

answers:

2

hi

i am trying to set up a home page with an email form, where i can fill out email address and subject and comments and the php page will run
mail -s [email protected] $comments how can I do this via php to call the linux command?

thanks in advance

A: 

Why don't you just use PHP's own mail() function?

Douwe Maan
+1  A: 

mail("[email protected]","Subject","The message content");

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

webdestroya