Object's properties and methods: All code snippets must call the statement Set POP3 = Server.CreateObject ("ZAKSPOP3. Server ")
Property:mailServerHost:the IP Address of the POP3 Server. Properties: MAILSERVERHOST:POP3 IP address of the server
Property:mailAccount:The username of the POP3 mailbox. Properties: Mailaccount:P OP3 mailbox username
Property:mailPassword:The password of the mailbox. Properties: MailPassword: Password for mailbox
Property:mailPort:default to, the standard port for the POP3 protocol Properties: Mailport: The default value is the standard port for the 110,POP3 protocol
Property:errorString:An error description, should an error occur. Attribute: errorstring: Description of error after error occurred
Property:useUIDL:set to True to enable UIDL support (defaults to false). Properties: Useuidl: When the value is true, UIDL is supported, and the default value is False
Function:Login:Attempt to connect to the MailServer & mailbox, return True for success, false for error Function: Login: Connection to mail server and mailbox, connection successfully returned true, error returned false
Function:FetchHeaders:Get the "current" headers from the MailServer Function: fetchheaders: Reading message headers from mail server
Function:delete (MsgID): Deletes the specified message from the MailServer Function: Delete (MsgID): Deletes the specified message from the mail server
Collection:Messages:returns a Collection of message objects (Fetchheaders must have been called i) Function: Messages: Returns a collection of message objects that must be called before fetchheaders.
Message Object
Property:Date:the Date the message was sent Properties:: Date: Message sent by
Property:To:who the message was to Properties: To: Recipients of messages
Property:From:who the message are from Properties: From: Senders of messages
Property:Subject:the message Subject Properties: Subject: Message subject
Property:ReplyTo:the ReplyTo Email address, if one is specified Attribute: ReplyTo: If a reply letter is specified, this property returns the address of the reply letter
Property:ReturnPath:the supplied return path (or reply address) Properties: Returnpath: Provided return path (or reply-to address)
Property:HeaderString:the whole of the message headers Properties: headerstring: Headers for the entire message
Property:Size:the Size of the whole message in bytes Properties: Size: Number of bytes in whole message
Property:MimeEncoded:returns true if the message has been MIME encoded Properties: mimeencoded: If the message is a MIME-encoded return value of True
Property:ID:The message number Properties: ID: Message number
Property:UID:The message Unique ID (as returned by the POP3 command UIDL) Attributes: Uid: Unique number of messages (obtained from the POP3 command UID list)
Property:Body:returns Whole Body Properties: Body: Returns the entire message text
Property:HTMLBody:trys to intelligently return a HTML compatible body, if MIME encoded, then this could is a HTML Enco Ded MIME part, or a plain mime part, with <PRE> tags around it. If not MIME encoded, returns the whole body with <PRE> around it. Property: HTMLBody: Intelligent Returns the HTML body (if it is a MIME encoding, then returns an HTML containing either MIME encoding or a simple MIME encoding identified by the <PRE> flag.) If it is not a MIME encoding, the entire body is identified directly with the <PRE> flag.
Collection:bodyparts:a Collection of MIME parts, if the message is MIME encoded. Collection: Bodyparts: Returns a collection of MIME parts if the message is MIME-encoded BodyPart Object
Property:IsAttachment:returns true if this is a attachment Property: Isattachment: Returns True if it is an attachment
Property:FileName:returns the Attachment FileName Properties: FileName: Returns the file name of the attachment
Property:CharSet:returns the encoding character set Attribute: CharSet: Returns the encoded character set
Property:ContentEncoding:returns the encoding type Properties: contentencoding: Returning encoding type
Property:ContentType:returns the content Type Properties: ContentType: Returning content Type
Property:Header:returns the MIME Header for this part Properties: Header: Returns the MIME header for this section
Property:Body:the body part of this MIME part (decoded as required) Properties: Body portion of Body:mime part (decoded)
Property:RawBody:the body part of this MIME part (no decoding) Properties: Body portion of Rawbody:mime part (not decoded)
Property:Attachment:an array of bytes, representing decoded attachment Property: Attachment: Returns a byte array containing the decoded attachment contents
Property:Size:returns the decoded Size of this part in bytes Property: Size: Returns the decoded number of bytes of content
|