Solved

EHLO command waits for hour with hotmail.com

Posted on 2010-09-09
3
557 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
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
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?
0
 

Author Closing Comment

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

Author Comment

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

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