Subject: Re: Mail Function Using PEAR Issues From: ash@xxxxxxxxxxxxxxxxxxxx To: peter.e.lind@xxxxxxxxx CC: ajwei@xxxxxxxxxxxxx; php-general@xxxxxxxxxxxxx Date: Tue, 20 Apr 2010 21:16:03 +0100 On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote: On 20 April 2010 20:17, Alice Wei <ajwei@xxxxxxxxxxxxx> wrote: > >> From: peter.e.lind@xxxxxxxxx >> Date: Mon, 19 Apr 2010 10:15:08 +0200 >> Subject: Re: Mail Function Using PEAR Issues >> To: ajwei@xxxxxxxxxxxxx >> CC: php-general@xxxxxxxxxxxxx >> >> Most, if not all, mail servers keep log files. You should look for the >> log files to see if the mail server has sent your mail properly or is >> experiencing problems (those may not feed back into PHP). >> >> Regards >> Peter >> >> -- >> <hype> >> WWW: http://plphp.dk / http://plind.dk >> LinkedIn: http://www.linkedin.com/in/plind >> Flickr: http://www.flickr.com/photos/fake51 >> BeWelcome: Fake51 >> Couchsurfing: Fake51 >> </hype> > > You know where I can find that? I use Evolution Mail, a mail server? I found > it through Ubuntu yesterday. Here is the link: > http://projects.gnome.org/evolution/ It asks me to put in the type of mail > service I used, it grabbed Google, which is smtp.google.com. I still cannot > send mail. I start to wonder what is going on. > > Alice > Evolution is a mail client, not a mail server. Apart from that, you're using the 'mail' (PHPs mail function) as the backend mailer in your PEAR script - try using smtp instead and pass the SMTP config data you normally use. Have a look at http://pear.php.net/manual/en/package.mail.mail.factory.php - the smtp part. Regards Peter -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 </hype> If you've got Pear on Ubuntu, can Pear not default to sendmail if no SMTP connection is set up? Well, from my experience with Ubuntu, looks like that it does not do that. Unless, I am doing it wrong? Thanks, Ash http://www.ashleysheridan.co.uk _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2