• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

EHLO command waits for hour with hotmail.com

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
Greg2FS
Asked:
Greg2FS
  • 2
1 Solution
 
zappafan2k2Commented:
Just for laughs, try sending \r\n instead of \n

And are you issuing a socket_read command after socket_write?
0
 
Greg2FSAuthor Commented:
Stupid mistake... gotten this code on the net.
Thanks
0
 
Greg2FSAuthor Commented:
(using \r\n solved)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now