Hi, 


I have recently installed a lamp server using Ubuntu, and I am trying to 
set up a contact page using PHP and PEAR, and have the mail delivered to
 my mailbox. I have set up the mailbox using Evolution Mail, but I have 
not touched the php.ini file yet. 



I get this message saying that my message has been sent, but I never see
 the email. I posted this to the PHP forums a couple of times, and no 
one seem to be able to answer the question. Here is the code:





if($_POST['submit']=="Submit") {

$from  = "localhost";

$to =  $email;

$subject = "Comments";

$body = "From: $your_name\n E-Mail: $email\n  Reason Contact: 
$question\n Comments:\n $comments";



$headers = array ('From' => $from,'To'  => $to,'Subject' => 
$subject);

$mail ->send($to, $headers,  $body);



Is Evolution a Mail server that I can use to send mail? 

Thanks for your help.



Alice


                                          
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
------------------------------------------------------------------------------
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to