MailBee Objects について

アプリケーションでPOP3、IMAP4、SMTP、SSLのEメールを送受信、解析、管理できるようにするコンポーネント

MailBee Objectsを使用すると、簡単にダウンロード、従来のASP、VB、Delphiや他のActiveXの対応環境でのPOP3サーバから電子メールを解析することができます。コンポーネントは、簡単に使用できるMessageオブジェクトにメッセージの解析およびデコード、削除、POP3サーバ(MS Exchangeが2007/2010を使用した、NTLMとGSSAPIを含む)上のセキュアな認証、メッセージ(ヘッダをダウンロードする)の完全かつ部分的なダウンロードをサポートしています。

MailBee Objects Features

POP3 Object

  • Supports secure authentication methods (including OAuth 2.0, APOP, NTLM, GSSAPI/NTLM, GSSAPI/Kerberos, Integrated Windows Authentication).
  • Supports Office 365, Gmail, and other providers.
  • Can retrieve all messages as a collection, retrieve only headers for each message, headers + part of message body.
  • Can retrieve any single particular message or its headers.
  • Can detect total message count in the mailbox, total size of all messages and sizes of every message. All of above does not require messages or headers retrieval.
  • Automatically parses retrieved messages and headers (decoding from base64/quoted-printable/uue, converting data from local charset to Unicode, etc.).
  • Automatically creates plain-text version of HTML formatted message if plain version is not available in the message itself.
  • Can determine whether a message contains attachments when downloading message headers only.
  • Can delete messages from POP3 server.
  • Supports logging POP3 session into the file.
  • Can execute user-specified commands (SendCommand method).
  • Ping method allows you to implement "keep connection alive" function in your applications.
  • Supports event mechanism to track retrieval progress (and abort retrieval if needed).
  • Supports message UIDs (unique-ids). This greatly simplifies programming task of detecting new mails, and dramatically decreases amount of data to be received from server for this purpose.
  • Full and automatic support for Unicode and UTF-8.
  • Supports international headers, attachment names, bodies, etc.

IMAP4 Object

  • Supports Office 365, Gmail, and other providers.
  • Retrieves entire message, message header, message header and part of message body, message envelope and body structure.
  • Searches messages that match specified criteria.
  • Retrieves, selects and manages mailboxes (supports SPECIAL-USE, XLIST, CHILDREN extensions which enable special folder flags like Sent, Drafts, Spam, Trash).
  • Copies, uploads, sets flags, deletes messages on the IMAP4 server.
  • Moves messages between mailboxes (the IMAP4 server must support MOVE extension).
  • Provides event notification mechanism and background processing.
  • Supports logging IMAP4 session into the file.
  • Executes user-supplied commands.
  • Ping method for keeping connection alive.
  • Idle method (the server must support IDLE extension).
  • GetMailboxQuota method (the server must support QUOTA extension).
  • Automatically decodes received messages from MIME format.
  • Automatically generates plain-text version for HTML-only messages.
  • Supports UIDs.
  • Supports secure authentication methods (including OAuth 2.0, CRAM-MD5, NTLM, GSSAPI/NTLM, GSSAPI/Kerberos, Integrated Windows Authentication).
  • Full and automatic support for Unicode and UTF-8. Supports international headers, attachment names, bodies, etc.
  • UTF-7M mailbox names.
  • GetCapabilities method to obtain the list of extensions supported by the server.

SMTP Object

  • Supports Office 365, Gmail, and other providers.
  • Can send any Message object to SMTP server.
  • Can send messages to IIS SMTP queue or to MailBee Message Queue or MailBee.NET Queue system instead of direct sending to SMTP server. Using MailBee Message Queue (or its modern replacement MailBee.NET Queue) allows SMTP component to operate very quickly because messages are actually delivered in a background ("fire and forget" delivery).
  • Supports ESMTP authentication, including secure authentication methods (OAuth 2.0, CRAM-MD5, NTLM, GSSAPI/NTLM, GSSAPI/Kerberos, Integrated Windows Authentication).
  • Can relay (blind-forward) messages stored in disk files (RelayMessage method).
  • Supports creating plain-text and HTML messages. For HTML messages HTML Import option is available (it allows to export HTML files with embedded graphics, style-sheets, etc. in one ImportBodyText method call).
  • Provides method to add custom MIME-headers (AddHeader method).
  • Supports unlimited number of attachments.
  • Full and automatic support for Unicode and UTF-8. Supports international headers, attachment names, bodies, etc.
  • Can preserve original formatting of plain-text keeping long lines unwrapped but still providing compatibility with MIME rules (BodyEncoding property).
  • Includes method MakeAltBody to create plain-text version of HTML body if plain-text version is not available.
  • Supports logging SMTP session into the file.
  • Supports event mechanism to track retrieval progress (and abort sending if needed).
  • Executes user-supplied commands.
  • Can determine MX server for the specified e-mail address domain (allows for "direct send" without SMTP relay server).

SSL Object

  • Secure SSL/TLS communications for SMTP, POP3 and IMAP4 protocols.
  • Both dedicated port and "STARTTLS over regular port" communications.
  • SSL support is up to TLS 1.0/1.1/1.2.
  • Client and server certificates. Trusted certificate check, search and select client certificate, option to automatically add server certificate to the store, custom certificate stores including registry and file stores.
  • PFX support.

SMIME Object

  • Can encrypt and decrypt e-mail messages using the different encrypting algorithms.
  • Can sign e-mail messages with digital signatures and verify the integrity of these messages.
  • Because SMIME object secures messages using Message object, all securing functionality of SMIME object also applies to the Message object.
  • Provides properties and methods for managing the digital certificates that are used to secure the e-mails: trusted certificate check, search and select client certificate, add certificates to the specified store, custom certificate stores including registry and file stores.
  • PFX support.

Message Object

  • Available in all MailBee Objects packages (POP3, IMAP4, SMTP, Objects).
  • Because SMTP object composes messages using Message object, all composing functionality of SMTP object also applies to Message object.
  • Includes collection of a message's attachments.
  • Provides access to custom message headers through GetHeader method.
  • Can display HTML messages saving all necessary files.
  • Can create HTML messages importing all necessary files.
  • International character sets, Unicode, UTF-8, IDN domains fully supported.
  • Can be created explicitly through CreateObject and then saved to disk or sent by SMTP object.
  • Any content can be loaded to RawBody property (such as content of message file or attachment with message inside).
  • RawBody operates symmetrically: when you set Message properties or call Message-affecting methods (such as AddAttachment), RawBody will reflect this changes next time you read it; when you load RawBody with new value, other Message properties such as BodyText are refreshed.
  • No redundant refreshes on RawBody. If you sequentially change some Message properties, RawBody will be updated only when you read it, not after every changing Message properties.
  • E-mail address validation (both e-mail address syntax and domain MX lookup).

Attachment Object

  • Also available in all MailBee Objects packages as a part of Message object.
  • Content of attachment is available directly through Content property. You do not have to save a file to disk first and then read it to get attachment content.
  • SaveFile method allows you to easily save attachment content to disk.
  • Supports international and encoded filenames.
  • IsInline property allows to determine whether attachment is an object related in HTML message body (such as embedded image or CSS file) or not (i.e. attachment was explicitly added by the user).
  • ContentID and ContentType properties are also available.