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

US says world safer, despite 11,000 attacks in '05

The U.S. war on terrorism has made the world safer, the State Department's counterterrorism chief said on Friday, despite more than 11,000 terrorist attacks worldwide last year that killed 14,600 people. The U.S. State Department said the numbers, listed in its annual Country Reports on Terrorism released on Friday, were based on a broader definition of terrorism and could not be compared to the 3,129 international attacks listed the previous year. But the new 2005 figures, which showed attacks in Iraq jumped and accounted for about a third of the world's total, may fuel criticism of the Bush administration's assertion that it is winning the fight against terrorism. Asked if the world was safer than the previous year, U.S. State Department Counterterrorism Coordinator Henry Crumpton told a news conference, "I think so. But I think that (if) you look at the ups and downs of this battle, it's going to take us a long time to win this. You can't measure this month ...

Al-Qaeda number two in new video

Al-Qaeda's number two Ayman al-Zawahiri has appeared in a video saying that Iraqi insurgents have "broken the back" of the US military. He praised "martyrdom operations" carried out by al-Qaeda in Iraq in the video, posted on an Islamist website. And he called on the people and army of Pakistan to fight against President Musharraf's administration. This is the third message from prominent al-Qaeda leaders to emerge within a week. A tape from Osama Bin Laden was broadcast on 23 April, followed two days later by a message from Iraqi insurgent Abu Musab al-Zarqawi. Pakistan focus Zawahiri, who wore a black turban and a white robe in the video, described the leaders of Egypt, Jordan, Saudi Arabia and Iraq as traitors, and urged Muslims to "confront them". He praised Iraqi militants, saying that the US, Britain and allies had "achieved nothing but losses, disasters and misfortunes" in Iraq. "Al-Qaeda in Iraq alone has carried out 800 ma...

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...