?
Solved

EHLO command waits for hour with hotmail.com

Posted on 2010-09-09
3
Medium Priority
?
570 Views
Last Modified: 2013-11-30
Hello, I a trying to connect to the hotmail mx with:
socket_write($socket,"HELO google.com\n");

Open in new window


but hotmail never send the reply back.
However I receive well the 220 code after connection.

What can I do ?
0
Comment
Question by:Greg2FS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
zappafan2k2 earned 2000 total points
ID: 33643394
Just for laughs, try sending \r\n instead of \n

And are you issuing a socket_read command after socket_write?
0
 
LVL 1

Author Closing Comment

by:Greg2FS
ID: 33643434
Stupid mistake... gotten this code on the net.
Thanks
0
 
LVL 1

Author Comment

by:Greg2FS
ID: 33643437
(using \r\n solved)
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Check out the latest tech news, community articles, and expert highlights in August's newsletter.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question