473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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?

Any thoughts on this anybody?
Jul 17 '05 #1
6 2647
Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
class, which supposedly supports authentication.

- Kevin

"Martin Meng" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?

Jul 17 '05 #2
But I was using the syntax
[yahoo_login]:[password]@smtp.mail.yahoo.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" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?


Jul 17 '05 #3
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" <ma*********@yahoo.com> wrote in message
news:41**************@yahoo.com...
But I was using the syntax
[yahoo_login]:[password]@smtp.mail.yahoo.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" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?



Jul 17 '05 #4
I will try the package method. Thanx for the pointer.

Junxter Ad Network
http://www.junxter.com
Kevin wrote:
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" <ma*********@yahoo.com> wrote in message
news:41**************@yahoo.com...
But I was using the syntax
[yahoo_login]:[password]@smtp.mail.yahoo.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" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?

Jul 17 '05 #5
Success! Works like a charm using phpmailer.

Junxter Ad Network
http://www.junxter.com
Martin Meng wrote:
I will try the package method. Thanx for the pointer.

Junxter Ad Network
http://www.junxter.com
Kevin wrote:
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" <ma*********@yahoo.com> wrote in message
news:41**************@yahoo.com...
But I was using the syntax
[yahoo_login]:[password]@smtp.mail.yahoo.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" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?

Jul 17 '05 #6
Martin Meng wrote:
But I was using the syntax
[yahoo_login]:[password]@smtp.mail.yahoo.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" <ma*********@yahoo.com> wrote in message
news:Qs********************@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?



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.

- James McGuigan
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gene Kahn | last post by:
Windows XP, Apache 2, PHP5 RC1 Hello, A total newbie here. I can't seem to get Apache2 to load the php5 module. When I loaded up this html file in a browser, only the Today's date: line prints on...
15
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
2
by: Safras Ahamed | last post by:
I have windows xp pc and i have installed apache as a web server and php also working fine, but when i am sending mail, its giving me following error when upload same to linux live server its...
0
by: Matthew Lavinder | last post by:
I have a crazy problem. I am trying to send email through a server that requires SMTP authentications. So I downloaded PHPMailer. I copied over the class file and sample code and ran a test. I...
6
by: Mike the Canadian | last post by:
I am having a very strange problem sending email with php. I have two domains. I can send an email to one domain using php but not the other. If I put both email addresses in the mail command only...
2
by: Curtis | last post by:
Hello everyone: Recently, I decided to upgrade to PHP 5.2.0. I have C:\php5 in the Windows XP PATH, so upgrading is quite painless; just unzip new release, and restart Apache! Usually it goes...
5
by: Pete Marsh | last post by:
Wondering if anyone can recomend some sample code for dynamically loading the GD module. I have tried setting the extension dir in php.ini, and loading the GD module from there when apache is...
2
by: tool | last post by:
I'm having a problem that I'm not sure of the source for... so I'm asking here as the Apache group doesnt seem to know anything about the error message Apache generates. The error message is...
7
by: undbund | last post by:
Hi I am creating a newsletter system. The software should run from desktop computer (localhost) but be able to send email to anyone on the internet. Can you guys give me some ideas on how to...
31
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.