Solved

EHLO command waits for hour with hotmail.com

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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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 …

690 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