473,770 Members | 2,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2662
Maybe Yahoo requires authentication for SMTP? Try using the PEAR Mail
class, which supposedly supports authentication.

- Kevin

"Martin Meng" <ma*********@ya hoo.com> wrote in message
news:Qs******** ************@gi ganews.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.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" <ma*********@ya hoo.com> wrote in message
news:Qs******** ************@gi ganews.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*********@ya hoo.com> wrote in message
news:41******** ******@yahoo.co m...
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" <ma*********@ya hoo.com> wrote in message
news:Qs******** ************@gi ganews.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*********@ya hoo.com> wrote in message
news:41******** ******@yahoo.co m...
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" <ma*********@ya hoo.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*********@ya hoo.com> wrote in message
news:41******** ******@yahoo.co m...
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" <ma*********@ya hoo.com> wrote in message
news:Qs******** ************@gi ganews.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.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" <ma*********@ya hoo.com> wrote in message
news:Qs******** ************@gi ganews.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
1872
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 the page. <html> <head> <title>Listing 1-7</title> </head>
15
4312
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
3304
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 working, please help me what do i have to do for this Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use
0
1087
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 received a timeout error. Oh if it only ended there. I am using PHP Designer 2005 so I decided to run it through the debugger. IT WORKED PERFECTLY. Went back to the page using my browser, and again, I received the timeout error. I downloaded...
6
2054
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 the one email will arrive. I can send emails the traditional way to the problem domain and they arrive fine. Is there anything that might explain this? _______ Free Windows Clipboard Utility http://www.clipboardmagic.com/
2
2768
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 off without a hitch, but I noticed that phpMyAdmin was not able to utilize the MySQLi library (which was working with my last 5.1.x release). As I was looking through php_info(), I noticed that MySQLi didn't even load. However, when I restarted...
5
5125
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 started, but it won't load. There is also the option of dynamically loading the module at run time of the script. LD() i believe is the call.
2
1632
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 "Your program accessed memory currently in use at 00003f13 from 167f:02fe" This only happens if I start mysqld.exe then apache then shell out of a web page using PHP exec() to execute another program.
7
9836
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 achieve this. Thanks
31
12707
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 is working for normal email servers, but NOT with gmail server, I am very puzzled still!!) Codes(item c below) It keeps complaining and logs and codes are below. a) apache access logs --------------------------------- 127.0.0.1 - - "GET...
0
9602
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9439
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9882
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.