Skip to main content

HowTO Send and Receive Email Without an Email Client

Reff:  HowTO Send and Receive Email Without an Email Client

Receiving Email

Go to command prompt. This can be done as following:

    Start –> Run –> type “cmd” in the box –>OK

Telnet to the mail server (POP3 Server) and use your username password to login:

    telnet pop3server.nirlog.com 110

The server will reply like this:

    +OK <2324.1138330846@pop3server.nirlog.com>

Login to the mail server:

    user username

The server acknowledges with:

    +OK

Now input your password:

    pass password

If the password is correct the server responds with:

    +OK

Check your emails:
To see how many emails you have in your box use the command:

    list

This will list out the emails you have in your inbox:

    +OK
    1 1623
    2 1601
    3 1596

1, 2, 3 are the email ids and the 1623, 1601, 1596 are size of respective emails in bytes.
To read your emails you need to use command retr email id. E.g. if you want to read the first email then you should:

    retr 1

To delete the emails you need to to use dele command. E.g. to delete the first email you should:

    dele 1

To exit form the server use command quit.


Sending Email

Go to command prompt. This can be done as following:

    Start –> Run –> type “cmd” in the box –>OK

Telnet to the mail server (SMTP Server):

    telnet smtpserver.nirlog.com 25

The reply should be like:

    220 smtpserver.nirlog.com ESMTP

Greet the SMTP Server using helo command, after the helo you can put any domain (I’ve used nirlog.com):

    helo nirlog.com

The server will respond with something like this:

    250 smtpserver.nirlog.com

Input your email address. The sender’s email address:

    mail from: user@nirlog.com

This should give:

    250 ok

Input the recipients email address:

    rcpt to: niranjan.kunwar@gmail.com

This should give:

    250 ok

Compose your email with subject and body:

    data

This should give:

    354 go ahead

Now write the subject of your email:

    Subject: This is a Test Subject (Press Enter twice, this is how Subject and body of an email is separated)

Write the body of the email:

    This is a test mail from command line
    .

After the message body you need to press Enter, type a dot “.” and one more Enter. This way you’ll tell the SMTP server that you’re done writing the email. The server will reply with:

    250 ok 1138345550 qp 22585

This means email has been accepted by the server and is queued for delivery.
You can exit from the server using command quit.

Comments

Popular posts from this blog

Does light have mass?

The short answer is "no", but it is a qualified "no" because there are odd ways of interpreting the question which could justify the answer "yes". Light is composed of photons so we could ask if the photon has mass. The answer is then definitely "no": The photon is a massless particle. According to theory it has energy and momentum but no mass and this is confirmed by experiment to within strict limits. Even before it was known that light is composed of photons it was known that light carries momentum and will exert a pressure on a surface. This is not evidence that it has mass since momentum can exist without mass. [ For details see the Physics FAQ article What is the mass of the photon? ]. Sometimes people like to say that the photon does have mass because a photon has energy E = hf where h is Planck's constant and f is the frequency of the photon. Energy, they say, is equivalent to mass according to Einstein's famous formula E = m...

Play against Xbox360 gamer on PC in Vista

Microsoft Corp. co-founder Bill Gates on Tuesday announced a cross-platform gaming service that integrates games played on cell phones, Xbox 360 consoles and the upcoming Windows Vista operating system. The "Live Anywhere" service will be available as part of Windows Vista, Microsoft's next-generation PC operating system. The consumer version is scheduled for release early next year. "It means that you have one online community," Gates said in a news conference. "This platform can really unleash developers to do amazing new things." The system would extend the company's existing Xbox Live service for the Xbox 360 console into millions of Internet-enabled PCs and cellular phones. No pricing information on the new service was announced. In recent months, Microsoft has been pushing a number of online services that it hopes will boost revenue as markets for its traditional software become increasingly saturated. The company expects to make money off s...

Microsoft shows off JPEG rival

If it is up to Microsoft, the omnipresent JPEG image format will be replaced by Windows Media Photo. The software maker detailed the new image format Wednesday at the Windows Hardware Engineering Conference here. Windows Media Photo will be supported in Windows Vista and also be made available for Windows XP, Bill Crow, program manager for Windows Media Photo said in a presentation. "One of the biggest reasons people upgrade their PCs is digital photos," Crow said, noting that Microsoft has been in contact with printer makers, digital camera companies and other unnamed industry partners while working on Windows Media Photo. Microsoft touts managing "digital memories" as one of the key attributes of XP successor Vista. In his presentation, Crow showed an image with 24:1 compression that visibly contained more detail in the Windows Media Photo format than the JPEG and JPEG 2000 formats compressed at the same level. Still, the image in the Microsoft form...