Solved

EHLO command waits for hour with hotmail.com

Posted on 2010-09-09
3
561 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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 …
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.

726 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