POPMSG Object


Properties

RawContent

Raw content of message.

RegisterKey

Registration code of ANPOP Object.

Methods

AddHeader

Add an extra header item to current email.

CreateFolder

Create a folder in local disk recursively.

Decrypt

Decrypt method decrypts current encrypted email to new plain POPMSG object.

DeleteFile

Delete specified file from local disk.

ExportFile

Export POPMSG raw content to an email file.

GetAltBody

Get message's alternative body text.

GetAttachmentChunk

Get specified file attachment's binary data.

GetAttachmentCount

Get total count of attachments of message.

GetAttachmentName

Get specified file attachment's name.

GetAttachmentSize

Get specified file attachment's size in bytes.

GetAttachmentString

Get file attachment's binary data which is encoded with base64.

GetBodyFormat

Get message body format.

GetBodyText

Get message body text.

GetCCAddr

Get specified CC recipient's email address.

GetCCCount

Get the total count of CC recipients.

GetCCName

Get specified CC recipient's friendly name.

GetContentID

Get inline file attachment's content-id.

GetContentType

Get file attachment's Content-Type.

GetDate

Get message's date in GMT format.

GetFrom

Get sender's friendly name.

GetFromAddress

Get sender's email address.

GetHeader

Get message header.

GetHeaderItem

Get specified message header item.

GetMessageSize

Get message's size in bytes.

GetRecipientAddr

Get specified normal recipient's email address.

GetRecipientCount

Get total count of normal recipients.

GetRecipientName

Get specified normal recipient's friendly name.

GetReplyTo

Get reply address.

GetSubject

Get message subject.

GMTToLocalDate

Convert GMT datetime string to DateTime type.

HtmlToText

Convert html body text to plain text.

ImpersonateUser

Impersonate another user to run current object.

ImportFile

Import an email file into this object to parse.

IsEncrypted

This method checks if current email is encrypted by encryption certification.

IsSigned

This method checks if current email has a digital signature.

LoadHeader

Load headers from email file to current POPMSG object for previewing.

RemoveHeader

Remove specified header item from current email.

RevertToSelf

Log off user who logon with ImpersonateUser method.

SaveAttachment

Save attachment file.

SaveAllAttachments

Save all attachments to specified directory.

SaveAttachmentAs

Save attachment as another file.

VerifySignature

This method verifys the validity of current email's digital signature.


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.