Problem sending email from Windows XP / Apache 2 /php 5.0
Set up SMTP / smtp_from variable, as suggested in manual. But the
mail() function always return fails. I was trying to use
smtp.mail.yahoo .com I wonder if yahoo is somehow blocking smtp
requests from php?
Re: Problem sending email from Windows XP / Apache 2 /php 5.0
Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
class, which supposedly supports authentication.
- Kevin
"Martin Meng" <martinmengh@ya hoo.com> wrote in message
news:QsSdnYkcBL UJzWLcRVn-hg@giganews.com ...[color=blue]
>
> Set up SMTP / smtp_from variable, as suggested in manual. But the mail()
> function always return fails. I was trying to use smtp.mail.yahoo .com I
> wonder if yahoo is somehow blocking smtp requests from php?
>
> Any thoughts on this anybody?[/color]
Kevin wrote:[color=blue]
> Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
> class, which supposedly supports authentication.
>
> - Kevin
>
> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
> news:QsSdnYkcBL UJzWLcRVn-hg@giganews.com ...
>[color=green]
>>Set up SMTP / smtp_from variable, as suggested in manual. But the mail()
>>function always return fails. I was trying to use smtp.mail.yahoo .com I
>>wonder if yahoo is somehow blocking smtp requests from php?
>>
>>Any thoughts on this anybody?[/color]
>
>
>[/color]
Re: Problem sending email from Windows XP / Apache 2 /php 5.0
I'm pretty sure that syntax for the SMTP server won't work. If you need to
authenticate, you'll need to use a package that supports it.
Is PHP giving any errors or warnings?
- Kevin
"Martin Meng" <martinmengh@ya hoo.com> wrote in message
news:41FFBCD1.8 060404@yahoo.co m...[color=blue]
> But I was using the syntax
> [yahoo_login]:[password]@smtp.mail.yaho o.com
> Still no good. - FRUSTRATED ! -
>
>
> Junxter Ad Network
> http://www.junxter.com
>
>
> Kevin wrote:[color=green]
>> Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
>> class, which supposedly supports authentication.
>>
>> - Kevin
>>
>> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
>> news:QsSdnYkcBL UJzWLcRVn-hg@giganews.com ...
>>[color=darkred]
>>>Set up SMTP / smtp_from variable, as suggested in manual. But the mail()
>>>function always return fails. I was trying to use smtp.mail.yahoo .com
>>>I wonder if yahoo is somehow blocking smtp requests from php?
>>>
>>>Any thoughts on this anybody?[/color]
>>
>>[/color][/color]
Kevin wrote:[color=blue]
> I'm pretty sure that syntax for the SMTP server won't work. If you need to
> authenticate, you'll need to use a package that supports it.
>
> Is PHP giving any errors or warnings?
>
> - Kevin
>
> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
> news:41FFBCD1.8 060404@yahoo.co m...
>[color=green]
>>But I was using the syntax
>>[yahoo_login]:[password]@smtp.mail.yaho o.com
>>Still no good. - FRUSTRATED ! -
>>
>>
>>Junxter Ad Network
>>http://www.junxter.com
>>
>>
>>Kevin wrote:
>>[color=darkred]
>>>Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
>>>class, which supposedly supports authentication.
>>>
>>>- Kevin
>>>
>>>"Martin Meng" <martinmengh@ya hoo.com> wrote in message
>>>news:QsSdnYk cBLUJzWLcRVn-hg@giganews.com ...
>>>
>>>
>>>>Set up SMTP / smtp_from variable, as suggested in manual. But the mail()
>>>>function always return fails. I was trying to use smtp.mail.yahoo .com
>>>>I wonder if yahoo is somehow blocking smtp requests from php?
>>>>
>>>>Any thoughts on this anybody?
>>>
>>>[/color][/color]
>[/color]
Martin Meng wrote:[color=blue]
> I will try the package method. Thanx for the pointer.
>
> Junxter Ad Network
> http://www.junxter.com
>
>
> Kevin wrote:
>[color=green]
>> I'm pretty sure that syntax for the SMTP server won't work. If you
>> need to authenticate, you'll need to use a package that supports it.
>>
>> Is PHP giving any errors or warnings?
>>
>> - Kevin
>>
>> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
>> news:41FFBCD1.8 060404@yahoo.co m...
>>[color=darkred]
>>> But I was using the syntax
>>> [yahoo_login]:[password]@smtp.mail.yaho o.com
>>> Still no good. - FRUSTRATED ! -
>>>
>>>
>>> Junxter Ad Network
>>> http://www.junxter.com
>>>
>>>
>>> Kevin wrote:
>>>
>>>> Maybe Yahoo requires authentication for SMTP? Try using the PEAR
>>>> Mail class, which supposedly supports authentication.
>>>>
>>>> - Kevin
>>>>
>>>> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
>>>> news:QsSdnYkcBL UJzWLcRVn-hg@giganews.com ...
>>>>
>>>>
>>>>> Set up SMTP / smtp_from variable, as suggested in manual. But the
>>>>> mail() function always return fails. I was trying to use
>>>>> smtp.mail.yahoo .com I wonder if yahoo is somehow blocking smtp
>>>>> requests from php?
>>>>>
>>>>> Any thoughts on this anybody?
>>>>
>>>>
>>>>[/color]
>>[/color][/color]
Re: Problem sending email from Windows XP / Apache 2 /php 5.0
Martin Meng wrote:[color=blue]
> But I was using the syntax
> [yahoo_login]:[password]@smtp.mail.yaho o.com
> Still no good. - FRUSTRATED ! -
>
>
> Junxter Ad Network
> http://www.junxter.com
>
>
> Kevin wrote:
>[color=green]
>> Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
>> class, which supposedly supports authentication.
>>
>> - Kevin
>>
>> "Martin Meng" <martinmengh@ya hoo.com> wrote in message
>> news:QsSdnYkcBL UJzWLcRVn-hg@giganews.com ...
>>[color=darkred]
>>> Set up SMTP / smtp_from variable, as suggested in manual. But the
>>> mail() function always return fails. I was trying to use
>>> smtp.mail.yahoo .com I wonder if yahoo is somehow blocking smtp
>>> requests from php?
>>>
>>> Any thoughts on this anybody?[/color]
>>
>>
>>
>>[/color][/color]
More than likely, relaying is disabled on Yahoo! end. Almost all mail
servers are configured to disable relaying as a security measure. You
should use your own or your ISP's SMTP server.
Best regards,
Amir Khawaja.
--
Rules are written for those who lack the ability to truly reason,
But for those who can, the rules become nothing more than guidelines,
And live their lives governed not by rules but by reason.
Comment