Re: Mail Function Using PEAR Issues
| From: | Ken Guest | Date: | Wed, 21 Apr 2010 07:56:23 +0000 |
| Subject: | Re: Mail Function Using PEAR Issues | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304282@lists.php.net to get a copy of this message | ||
The PEAR Mail package does not fall back from one mechanism to another
if the first fails.
On Tue, Apr 20, 2010 at 9:16 PM, Ashley Sheridan
<ash@ashleysheridan.co.uk> wrote:
> On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote:
>
>> On 20 April 2010 20:17, Alice Wei <ajwei@alumni.iu.edu> wrote:
>> >
>> >> From: peter.e.lind@gmail.com
>> >> Date: Mon, 19 Apr 2010 10:15:08 +0200
>> >> Subject: Re: [PHP] Mail Function Using PEAR Issues
>> >> To: ajwei@alumni.iu.edu
>> >> CC: php-general@lists.php.net
>> >>
>> >> 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?
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
--
http://blogs.linux.ie/kenguest/