ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
New Postie manual section
Mark Gilmore
Fri, 23 May 2003 10:36:15 -0700
Fri, 23 May 2003 10:36:15 -0700


Mark Gilmore
http://OmnipotenceSoftware.com 


Sending/Receiving email (with "POSTIE")
POSTIE is a free program which may be used by ECS to send/receive email. It may be downloaded from Infradig.com.
The following examples perform the most popular tasks. See POSTIE's Postie.html for additional options/capabilities.
To determine the names of your outgoing/incoming mail servers, refer to your email program's setup.

Examples


Email single-line message (specified in the command):
POSTIE -s:"Test" -msg:"Message." -host:smtp.x.net -from:FromAddr@x.net -to:ToAddr@x.net -log:Postie.log
Subject: Test
Message: Message
SMTP Server (outgoing): smtp.x.net
Return address: FromAddr@x.net
Send addr: ToAddr@x.net
Log file: Postie.log. Will be empty if sent, or hold error message(s) if not.

Email text file (Message.txt) as the message:

POSTIE -s:"Test" -file:Message.txt -host:smtp.x.net -from:FromAddr@x.net -to:ToAddr@x.net
Subject: Test
Message file: Message.txt
SMTP Server (outgoing): smtp.x.net
Return address: FromAddr@x.net
Send addr: ToAddr@x.net
Log file: Postie.log. Will be empty if sent, or hold error message(s) if not.

Email file (Attach.zip) as attachment (with no message body):

POSTIE -s:"Test" -nomsg -a:Attach.zip -host:smtp.x.net -from:FromAddr@x.net -to:ToAddr@x.net
Subject: Test
Attached file: Attach.zip
SMTP Server (outgoing): smtp.x.net
Return address: FromAddr@x.net
Send addr: ToAddr@x.net
Log file: Postie.log. Will be empty if sent, or hold error message(s) if not.

Email text file (Message.txt) as message and (Attach.zip) as attachment:

POSTIE -s:"Test" -file:Message.txt -a:Attach.zip -host:smtp.x.net -from:FromAddr@x.net -to:ToAddr@x.net
Subject: Test
Message file: Message.txt
Attached file: Attach.zip
SMTP Server (outgoing): smtp.x.net
Return address: FromAddr@x.net
Send addr: ToAddr@x.net
Log file: Postie.log. Will be empty if sent, or hold error message(s) if not.

Retrieve the count and headers for new email:

POSTIE -host:pop3.x.net -user:MyLoginName -pass:MyPassword -log:Postie.log -br
POP/IMAP (incoming): pop3.x.net
User: MyLoginName
Password: MyPassword
Log file: Postie.log. Note: Data is appended to any existing log.

Retrieve new email (leaving mail on server)

POSTIE -host:pop3.x.net -user:MyLoginName -pass:MyPassword -log:Postie.log
POP/IMAP (incoming): pop3.x.net
User: MyLoginName
Password: MyPassword
Log file: Postie.log. Note: Data is appended to any existing log.

Retrieve Email (and delete retrieved mail on server)

POSTIE -host:pop3.x.net -user:MyLoginName -pass:MyPassword -log:Postie.log -rm
POP/IMAP (incoming): pop3.x.net
User: MyLoginName
Password: MyPassword
Log file: Postie.log. Note: Data is appended to any existing log.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.