| |
Provides a single, high-level interface for composing, sending and
retrieving email messages. Applications can create HTML messages with
file attachments, submit them to an SMTP server for delivery, and
retrieve messages using POP3 or IMAP. By combining message processing
and mail server access in one control, it simplifies common email
tasks and reduces the need to coordinate separate components.
Reference
Control Information
| Object Name |
InternetMailCtl.InternetMail |
| File Name |
CSIMCX12.OCX |
| Version |
12.0.3041.1380 |
| ProgID |
SocketTools.InternetMail.12 |
| ClassID |
497D2D93-DF7A-41BE-B2E4-8B590BB26D5D |
| Threading Model |
Apartment |
| Help File |
CST12CTL.CHM |
| Dependencies |
None |
| Standards |
RFC 821, RFC 822, RFC 1034, RFC 1425, RFC 1869, RFC 1939
RFC 2045, RFC 2046, RFC 2047, RFC 2048, RFC 2821, RFC 3501 |
Overview
The InternetMail ActiveX control simplifies
adding email functionality to an application by combining message
composition, processing and mail server access in a single, high-level
interface. It supports the Multipurpose Internet Mail Extensions
(MIME) standard for message content, the Simple Mail Transfer Protocol
(SMTP) for sending messages, and the Post Office Protocol (POP3) and
Internet Message Access Protocol (IMAP) for retrieving messages.
Applications can compose plain text or HTML messages, include both
formats as alternatives, and add file attachments or inline images.
Properties provide access to the sender, recipients, subject and
message text, while methods handle message composition and
attachments. For example, an application can compose an HTML email
with a plain text alternative, attach a Word document, and submit the
completed message to a configured SMTP relay server. The control
handles MIME formatting and attachment encoding without requiring the
application to construct the message manually.
For incoming email, an application can connect to a POP3 or IMAP
server, retrieve messages, examine their headers and content, and
extract attached files. Messages can also be imported from or exported
to files, or retrieved directly from a server and saved locally. When
using IMAP, applications can select and manage mailboxes, search for
messages, and monitor mailbox status.
The control also provides access to individual message parts and
custom headers for applications that need to inspect or modify message
content. Secure connections, password authentication and OAuth 2.0
bearer token authentication support access to mail services, while
event notifications allow applications to report progress when sending
or retrieving messages.
The InternetMail control is intended for applications that
need common email capabilities through one convenient interface. It
provides a simpler alternative to combining the SmtpClient,
PopClient, ImapClient and MailMessage controls,
but does not expose every feature available in those individual
components. Applications that require more extensive protocol-specific
functionality or finer control over message processing should use
the corresponding controls.
Requirements
The SocketTools ActiveX Edition components are self-registering
controls that are compatible with any programming language that
supports the Component Object Model (COM) and the ActiveX control
specification. If you are using Visual Basic 6.0, Service Pack 6 (SP6)
is required. We recommend installing all available updates for your
development tools. Although the Visual Basic 6.0 runtime is supported
on Windows 11, the IDE itself is no longer officially supported by
Microsoft. Legacy IDEs and compilers may also require elevated
(administrator) privileges to run properly.
The ActiveX controls are supported on Windows 7, Windows Server
2008 R2, and later versions of both desktop and server editions of
Windows. For Windows 7, Service Pack 1 (SP1) is the minimum
requirement. For Windows 8 systems, the 8.1 update must be installed.
On ARM-based platforms, the minimum supported version is Windows 10
build 1709.
SocketTools includes components for both 32-bit (x86) and 64-bit
(x64) Windows platforms. All modern versions of Windows are 64-bit,
but we continue to include 32-bit components for compatibility with
legacy development tools such as Visual Basic 6.0. We also provide
native ARM64 ActiveX controls for systems running Windows on ARM. Note
that 32-bit applications on ARM run using x86 emulation, and Microsoft
no longer supports native ARM32 applications.
If you are using VBScript, Visual Basic for Applications (VBA), or
another scripting environment on an ARM-based system, be aware that
64-bit hosts will require ARM64 components, while 32-bit hosts will
use x86 components under emulation. This includes applications created
with Visual Basic 6.0. To reduce deployment complexity and avoid
confusion, SocketTools does not include ARM32 ActiveX controls in its
standard redistribution packages but they are available on request for
legacy or specialized scenarios.
Distribution
When distributing an application which uses this control, you can
either install the OCX file as a shared component in the appropriate
system folder or in the same folder as your application executable. If
the control is installed in a shared system location, the installer
should manage it as a shared component to prevent other applications
from being affected when it is updated or removed. If you install the
control in the same folder as your executable, it is recommended that
you use registration-free activation or COM redirection to ensure that
the correct version of the control is loaded by the application.
This control has no external runtime dependencies beyond the
standard Windows system libraries. It does not require the Microsoft
Visual C++ Redistributable or any additional third-party libraries to
be installed. All required components are either provided by Windows
or statically linked into the ActiveX control, simplifying deployment
and eliminating the need to distribute additional runtime files.
|
|