Receiving e-mails from the command prompt – N-Tron 102PC-SE User Manual

Page 39

Advertising
background image

(Revised 2010-11-15)

39

Receiving E-mails from the Command Prompt

The command recv-mail mail can be used to retrieve all the emails from a POP3 server. This command will retrieve all the
email with headers, message body, and attachments.

The command recv-mail mail <n>, where n is the message number, can be used to retrieve the nth message.

Login: admin
Password:
logged in successfully
#recv-mail mail

Return-Path: <[email protected]>
Received: from adsl-220-163-81.mob.bellsouth.net ([68.220.163.81])
by ibm61aec.bellsouth.net
(InterMail vG.1.02.00.01 201-2136-104-101-20050929) with SMTP
id <20050525195032.PFUE1498.ibm61aec.bellsouth.net@adsl-220-163-81.mob.bellsouth.net>
for <[email protected]>; Wed, 25 May 2005 15:50:32 -0400
Reply-To: [email protected]
Date: Thu, 01 Jan 1970 00:17:11 +0000
From: "Smith" <[email protected]>
To: [email protected]
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <20050525195032.PFUE1498.ibm61aec.bellsouth.net@adsl-220-163-81.mobbellsouth.net>

Testing e-mail features...

OK: Message 1 Received
Return-Path: <[email protected]>
Received: from adsl-220-163-81.mob.bellsouth.net ([68.220.163.81])
by ibm61aec.bellsouth.net
(InterMail vG.1.02.00.01 201-2136-104-101-20050929) with SMTP
id <20050525195053.PFXI1498.ibm61aec.bellsouth.net@adsl-220-163-81.mob.bellsouth.net>
for <[email protected]>; Wed, 25 May 2005 15:50:53 -0400
Reply-To: [email protected]
Date: Thu, 01 Jan 1970 00:17:32 +0000
From: "Smith" <[email protected]>
To: [email protected]
Subject: testing
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <20050525195053.PFXI1498.ibm61aec.bellsouth.net@adsl-220-163-81.mob.bellsouth.net>

Testing the e-mail features on the 102PC-SE......"

OK: Message 2 Received

#

Notes:

1. You can receive 1 message at a time by specifying which message you want to look at in the <n> field.
2. The body of the message is located at the very end of the message just before “OK: Message n Received”.
3. Type Ctrl+C to quit the email at any given time.

Advertising