Monday, September 14, 2009

simulate smtp session

Having problems with sending mail?
You might want to try to simulate a smtp session to see what goes wrong exactly.

Start a msdos prompt and type:

C:\WINDOWS>telnet 25

Your smtp may be different offcourse.

Connected to
Escape character is '^]'.
220 ESMTP Sendmail 8.13.8/8.13.8; Mon, 14 Sep 2009 15:03:50 +0200 (CEST)

Type “helo” followed by your domain

250 Hello xxxxxxxxx [a.b.c.d], pleased to meet you

Type “mail from:” followed by your email address

250 2.1.0 Sender ok

Type “rcpt to:” followed by your email address

553 5.3.0 Relaying denied,Authenticate with your username and password first

Now we see what is wrong here. This server doesn’t allow me to relay.
Type “quit” to exit.

221 2.0.0 closing connection
Connection closed by foreign host.

If you didn’t get an error after “rcpt-to:”, continue with:

250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
   hello hugo

250 2.0.0 Ok: queued as 60D2A4A24A

221 2.0.0 Bye

Mail should arrive now.

Wednesday, August 5, 2009

Elevated (dos) prompt

Some actions require an elevated dos prompt.
The fastest way:

  • Click on the Windows (start) button
  • type: cmd in the search bar
  • hold down ctrl+shift and then press enter


  • Do not try to do this from the Run box (Win+R), this MUST to be done through the search bar.
  • UAC must be enabled otherwise it won’t work