From: Peter Lind on
On 21 April 2010 04:25, Alice Wei <ajwei(a)alumni.iu.edu> wrote:
> Well, from my experience with Ubuntu, looks like that it does not do that. Unless, I am doing it wrong?

So did you try using the 'smtp' backend and passing all the connection
details rather than 'mail'?

--
<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>
From: Ken Guest on
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(a)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(a)alumni.iu.edu> wrote:
>> >
>> >> From: peter.e.lind(a)gmail.com
>> >> Date: Mon, 19 Apr 2010 10:15:08 +0200
>> >> Subject: Re: [PHP] Mail Function Using PEAR Issues
>> >> To: ajwei(a)alumni.iu.edu
>> >> CC: php-general(a)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/
From: Alice Wei on

> From: peter.e.lind(a)gmail.com
> Date: Wed, 21 Apr 2010 09:29:19 +0200
> Subject: Re: [PHP] Mail Function Using PEAR Issues
> To: ajwei(a)alumni.iu.edu
> CC: ash(a)ashleysheridan.co.uk; php-general(a)lists.php.net
>
> On 21 April 2010 04:25, Alice Wei <ajwei(a)alumni.iu.edu> wrote:
> > Well, from my experience with Ubuntu, looks like that it does not do that. Unless, I am doing it wrong?
>
> So did you try using the 'smtp' backend and passing all the connection
> details rather than 'mail'?
>
I have mentioned several posts earlier that I have done nothing about my php.ini file. From what you said, since I use U-Verse, am I supposed to do something as described here: http://helpme.att.net/pdf/uverse/uverse_hsi_qsg_english.pdf

I thought with PEAR, you don't need to do that anymore. Or, am I wrong?

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
From: Peter Lind on
On 21 April 2010 18:44, Alice Wei <ajwei(a)alumni.iu.edu> wrote:
> I have mentioned several posts earlier that I have done nothing about my
> php.ini file. From what you said, since I use U-Verse, am I supposed to do
> something as described here:
> http://helpme.att.net/pdf/uverse/uverse_hsi_qsg_english.pdf
>
>
>
> I thought with PEAR, you don't need to do that anymore. Or, am I wrong?
>

Read the PEAR documentation:
http://pear.php.net/manual/en/package.mail.mail.factory.php
You can use other backends than just 'mail' - try using the smtp and
fill in your smtp settings as needed.

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>
From: Alice Wei on

> From: peter.e.lind(a)gmail.com
> Date: Wed, 21 Apr 2010 21:51:31 +0200
> Subject: Re: [PHP] Mail Function Using PEAR Issues
> To: ajwei(a)alumni.iu.edu
> CC: ash(a)ashleysheridan.co.uk; php-general(a)lists.php.net
>
> On 21 April 2010 18:44, Alice Wei <ajwei(a)alumni.iu.edu> wrote:
> > I have mentioned several posts earlier that I have done nothing about my
> > php.ini file. From what you said, since I use U-Verse, am I supposed to do
> > something as described here:
> > http://helpme.att.net/pdf/uverse/uverse_hsi_qsg_english.pdf
> >
> >
> >
> > I thought with PEAR, you don't need to do that anymore. Or, am I wrong?
> >
>
> Read the PEAR documentation:
> http://pear.php.net/manual/en/package.mail.mail.factory.php
> You can use other backends than just 'mail' - try using the smtp and
> fill in your smtp settings as needed.
>
> Regards
> Peter
>
I saw something like that on http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm, and this is probably what you are talking about?

$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));
Do I still need to install a mail server? I have Evolution Mail on my Linux box, and looks like that is a client and not a server.
Or, can I use any of the mail smtp setup, like Google? Or, do use some authentication information from http://helpme.att.net/pdf/uverse/uverse_hsi_qsg_english.pdf, since I use U-Verse at home?

Thanks for your help.

Alice

_________________________________________________________________
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
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Does PHP support multi-thread ?
Next: Class constants