On Tue, 2010-04-20 at 14:27 -0400, Alice Wei wrote:
> 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
> 

No Evolution is not a mail server that you can use to send mail.

What I suggest you do is to reinstall the server, unless you've done
quite a lot of work, and follow the instructions from 'PerfectServer'
Like this one: http://www.howtoforge.com/perfect-server-ubuntu8.04-lts

This one will give you a mailserver (postfix) and much more.


best 

> ------------------------------------------------------------------------------
> _______________________________________________
> VBox-users-community mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/vbox-users-community


-- 
Trond Husø
-----------------------------
PHP-developer
Linux (Ubuntu/Fedora/CentOS) user and Administrator
www.trondhuso.no


------------------------------------------------------------------------------
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to