EHLO command waits for hour with

Posted on 2010-09-09
Last Modified: 2013-11-30
Hello, I a trying to connect to the hotmail mx with:

Open in new window

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

What can I do ?
Question by:Greg2FS
  • 2
LVL 12

Accepted Solution

zappafan2k2 earned 500 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?

Author Closing Comment

ID: 33643434
Stupid mistake... gotten this code on the net.

Author Comment

ID: 33643437
(using \r\n solved)

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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