Zaks.POP3 Readme

Zaks.POP3 : An ASP Component for reading POP3 mail boxes
Version : 2.0 Beta 7
Release Date : 23 December 98
Copyright (c) 1998 by Simon Fell. All rights reserved.
Contact:
email : Simon Fell
WWW : Zaks Solutions Web Site

If you have any problems using this component please report it.

Description
An ASP Component for reading POP3 Email Accounts (Written In Java), with inspiration from Denis Basaric's excellent SMTP JMailer.

Installation Instructions
  1. zakspop3.dll - the Java classes, now packaged as a DLL.
  2. *.ASP + *.GIF - Sample code for reading mail from ASP
  3. readme.html - this file
This program requires at least version 5.00.2925 of the Microsoft Java VM (run jview.exe from a command prompt to find out the version number), get the latest Microsoft Java VM (6.3Mb) if needed

To register the component, run regsvr32 zakspop3.dll from the directory where you put the DLL.

License Agreement
Zaks.POP3 is copyright (C) 1998 by Simon Z. Fell

Zaks.POP3 is currently free to download and use. You may NOT redistribute the package through BBS, Internet, FTP sites or by any other means without written permission from the Author.
You are prohibited from:
charging a fee or requesting donations for the package;
modifying the package.

All trademarks/registered names acknowledged.

Zaks.POP3 is provided as is, without warranty of any kind. The author shall not be liable for damages of any kind. Use of this software indicates you agree to this.

How To Use
A set of example ASP scripts are included in the download

Object Properties / Methods
All the code snippets assume that
set pop3 = Server.CreateObject("zakspop3.Server")
has already been called.
  • Property : mailServerHost : the IP Address of the POP3 Server.
  • Property : mailAccount : The username of the POP3 mailbox.
  • Property : mailPassword : The password of the mailbox.
  • Property : mailPort : default to 110, the standard port for the POP3 protocol
  • Property : errorString : An error description, should an error occur.
  • Property : useUIDL : set to true to enable UIDL support (defaults to false).
  • Function : Login : Attempt to connect to the mailserver & mailbox, return true for success, false for error
  • Function : FetchHeaders : Get the current message headers from the mailserver
  • Function : Delete(msgID) : Deletes the specified message from the mailserver
  • Collection : Messages : returns a collection of message objects (FetchHeaders must have been called first)
Message Object
  • Property : Date : the date the message was sent
  • Property : To : who the message is to
  • Property : From : who the message is from
  • Property : Subject : the message subject
  • Property : ReplyTo : the replyTo email address, if one was specified
  • Property : ReturnPath : the supplied return path (or reply address)
  • Property : HeaderString : the whole of the message headers
  • Property : Size : the size of the whole message in bytes
  • Property : MimeEncoded : returns true if the message has been MIME encoded
  • Property : ID : The message number
  • Property : UID : The message unique ID (as returned by the pop3 command UIDL)
  • Property : Body : returns whole body
  • Property : HTMLBody : trys to intelligently return a HTML compatible body, if MIME encoded, then this could be a html encoded Mime part, or a plain mime part, with <PRE> tags around it. If not mime encoded, returns the whole body with <PRE> around it.
  • Collection: BodyParts : a collection of MIME parts, if the message was MIME encoded.
BodyPart Object
  • Property : IsAttachment : returns true if this part is an attachment
  • Property : FileName : returns the attachment filename
  • Property : CharSet : returns the encoding character set
  • Property : ContentEncoding : returns the encoding type
  • Property : ContentType : returns the content type
  • Property : Header : returns the MIME header for this part
  • Property : Body : the body part of this MIME Part (decoded as required)
  • Property : RawBody : the body part of this MIME part (no decoding)
  • Property : Attachment : an array of bytes, representing the decoded attachment
  • Property : Size : returns the decoded size of this part in bytes

Last Updated : Wednesday, December 23, 1998
(C) 1997/1998 Simon Fell, All rights reserved