Browse All Questions:

INSTALLATION


Q2000017: I want to re-install ActiveXperts Email Component. I uninstalled first, but now the installation tells me that I cannot install it in the same destination directory as before. Am I doing something wrong?

You are right: you cannot install the product in an existing directory.

At uninstall, the original directory (default: C:\Program Files\ActiveXperts\Email Component\) is NOT deleted in case there are files created/modified after the previous installation. You must delete these files/directories manually.

Once the directory (C:\Program Files\ActiveXperts\Email Component\) is deleted, you can re-install it in that directory.


Q2000015: Can ActiveXperts Email Component be installed manually?

Yes it can. To install the ActiveXperts Email Component DLL on another machine, simply copy either the AxEmail64.dll (for 64-bit applications) or AxEmail32.dll (for 32-bit applications) to the target machine and issue the REGSVR32 registration command on that machine.

To register the 64-bit component, issue the following command:

REGSVR32 AxEmail64.dll

To register the 64-bit component, issue the following command:

REGSVR32 AxEmail32.dll

Please note that on 64-bit systems, you can register both the 64-bit component (for 64-bit applications) and the 32-bit component (for 32-bit applications).


Q2000016: On 64-bit Operating Systems, can I also register the 32-bit component for my 32-bit applications?

Yes, on 64-bit systems you can register both the 64-bit component (for 64-bit applications) and the 32-bit component (for 32-bit applications). You can use the same REGSVR32.EXE command for that:

REGSVR32 AxEmail64.dll
REGSVR32 AxEmail32.dll

Q2000035: Where can I find the ActiveXperts Email Component Release Notes?

You can view the ActiveXperts Email Component Release Notes by using the following URL:
activexperts.com/smtp-pop3-component/releasenotes/


Q2000030: Does the ActiveXperts Email Component installation overwrite existing Operating System files?

No, it only installs two ActiveX component files: one 32-bit DLL (AxEmail32.dll) and one 64-bit DLL (AxEmail64.dll) that both make use of the Operating System.


Q2000010: When I run Setup, I get the following error message: "Error installing iKernel.exe (0xa00)". What's wrong?

Most probably, you don't have administrative privileges on the machine where you install the product. You must have local administrator rights to install ActiveXperts Email Component on the computer.


Q2000025: I manually registered the ActiveXperts Email Component DLL file on another machine, and now I want to unregister. How can I do this?

To uninstall the 64-bit component, issue the following command from the command prompt:

REGSVR32 -u <path>\AxEmail64.dll

To uninstall the 32-bit component, issue the following command from the command prompt:

REGSVR32 -u <path>\AxEmail32.dll

Q2000020: How can I uninstall ActiveXperts Email Component?

You can simple uninstall the software by using the 'Add/Remove' applet in the control panel. It will delete all files, except two: AxEmail64.dll and AxEmail32.dll. This article explains how to uninstall these files manually.

The core of ActiveXperts Email Component is two DLL's: AxEmail64.dll (to be used by 64-bit applications) and AxEmail32.dll (to be used by 32-bit applications). These DLL's are shared components, which means that they might be required by other software vendors. Therefore, these DLL's are NOT unregistered/deleted from the system using the 'Add/Remove' applet automatically!

To uninstall AxEmail32.dll manually on a 32-bit operating system:

To uninstall AxEmail64.dll and AxEmail32.dll manually on a 64-bit operating system:


Q2000012: When trying to register your component DLL from the command line, REGSVR32.EXE returns the following error: 0x80070005

This is not a problem of the ActiveXperts component, but is related to the security settings of your Windows computer.

Please try the following:

To start the command prompt, start it from the start menu by locating the "Command Prompt" in the start menu. Then, right-click on this item and select "Run as Administrator".

Then, issue the following command from the command prompt:

REGSVR32.EXE AxEmail64.dll

or

REGSVR32.EXE AxEmail32.dll

You can also try to turn off UAC (User Account Control)


Q2400003: How do I know what's new in the latest version of ActiveXperts Email Component?

For a list of new features and fixes, see ActiveXperts Email Component Release Notes.

SMTP


Q2100110: Does ActiveXperts Email Component contain any cryptographic code that might add export restrictions to a product that makes use of the component?

ActiveXperts Email Component uses file 'Schannel.dll' of the operating system for secure SMTP- and POP3 communications. The DLL is part of all major Windows operating systems; it is not included in the ActiveXperts Email Component installation package.

For details, please check the following URL: activexperts.com/smtp-pop3-component/schannel


Q2100045: I'm using my gmail account to send out e-mail messages over SMTP. I'm sure my credentials are correct, but still I get Error #37411: "Authorization failed". What's wrong?

You must allow ActiveXperts to access your google account using SMTP authentication. Click here for more information


Q2100101: Can I export an e-mail message from Mozilla Thunderbird and send it using ActiveXperts Email Component?

Yes, that is possible. It works similar as with MS Outlook Express. See KB 2100100.


Q2100060: I can't get BCC (blind carbon copy) to work. When I try, I don't receive the BCC message.

You have to be careful with testing the BCC feature, because many e-mail clients (including Microsoft Outlook Express and Mozilla Thunderbird) do not show BCC messages in some scenario's.
For instance: when you have your mail client configured with two accounts (let's say info@activexperts.com and sales@activexperts.com), and you use ActiveXperts Email Component (or any other SMTP client) to send an e-mail to both accounts, your mail client will - after receive - show only ONE email.

However, if the accounts are configured on different clients (for example, info@activexperts.com on PC1 and sales@activexperts.com on PC2), you'll see that both accounts receive the e-mail.

We get many questions about BCC and this is usually the problem (in fact there is no problem).


Q2100020: My SMTP server requires authentication. Why is it?

SMTP Authentication can add another layer of security to send mail, and has the benefit of giving mobile users who switch hosts the ability to use the same mail server without the need to reconfigure their mail client settings each time. Most modern SMTP implementations support SMTP Authentication.
Click here for more information about SMTP Authentication.


Q2100090: How can I modify the linewrap after 76 characters in my outgoing e-mail messages?

The linewrap after 76 characters is defined in the RFC SMTP specifications. However, if you want to change the position of the line wrap, you need to create a new value in the registry called 'MaxLine'. The type of this value should be DWORD, and the data should hold the new maximum number of characters. The registry value should be created in the following registry hyve:

HKEY_LOCAL_MACHINE\SOFTWARE\ActiveXperts\Email Component

Q2100015: Does ActiveXperts Email Component require IIS for its SMTP functionality?

No, that's not required. ActiveXperts Email Component uses native SMTP as specified by RFC 821, RFC 822, RFC 1521 and RFC 1522..


Q2100070: Do I need to call 'Clear' every time I send an e-mail?

If you send more than one e-mail with the same instance of the Message class, it is strongly recommended to call the Clear method before you re-use the object. For instance, without calling 'Clear', a call to 'AddTo' will add a new recipient to the existing list of recipients. Most likely, you want this list to be cleared first.


Q2100025: Does ActiveXperts Email Component support secure SMTP (SSL)?

ActiveXperts Email Component complies with secure mailservers (TLS/SSL) such as MS Exchange, Gmail (smtp.gmail.com) and Windows Live (live.com).

Yes, secure mailservers such as smtp.gmail.com are supported. You should switch to secure mode through the SetSecure method.


Q2100010: Is ActiveXperts Email Component compliant with any SMTP mail server?

ActiveXperts Email Component is RFC 821, RFC 822, RFC 1521 and RFC 1522 compliant. As a result, ActiveXperts Email Component is compliant with virtually any SMTP server.

ActiveXperts Email Component complies with secure mailservers (TLS/SSL) such as MS Exchange, Gmail (smtp.gmail.com) and Windows Live (live.com).


Q2100100: Can I export an e-mail message from Microsoft Outlook Express and re-send it using ActiveXperts Email Component?

Yes, that is possible.

First, export the message in Outlook Express and save it as an '.EML' mail file. Then, load the message message into a Message object by calling the LoadMIM method.

y\You can then send it out using the Send method.


Q2100027: Is SMTP authentication supported?

ActiveXperts Email Component supports the following SMTP Authentication protocols: AUTH LOGIN, AUTH PLAIN and AUTH CRAM-MD5. By default, ActiveXperts Email Component detects the preferred authentication method. For a preferred authentication method, use the Authentication property to force a particular authentication method.
For more information, click here.


Q2100050: I want to connect to my SMTP server on a different port than default port 25. The 'Connect' function doesn't seem to support this, how can I achieve it?

You should use the HostPort property. HostPort is set to 25 by default. Assign a different value to connect to a different port.

NOTE: You should set 'HostPort' BEFORE you calling the Connect method.


Q2100080: I get an error message when I send an e-mail. How do I know the meaning of this error code?

The following page lists all ActiveXperts error messages: activexperts.com/support/errorcodes. You can lookup any ActiveXperts error code, including the ActiveXperts Email Component codes.


Q2100040: When I send an email, I get error 505: "Client does not have permission to send as this sender; change the sender e-mail address". How should I solve this?

This means that the SMTP server requires authentication before sending out an e-mail. Pass the login and password parameters in the Connect method. In VBScript, the code looks like this:

Set objSmtp = CreateObject( "AxEmail.Smtp" )
...
objSmtp.Connect( your.mailserver.com, user-id, password )

POP3


Q2150085: Does ActiveXperts Email Component contain any cryptographic code that might add export restrictions to the product using the toolkit?

ActiveXperts Email Component uses file 'Schannel.dll' of the operating system for secure SMTP- and POP3 communications. The DLL is part of all major Windows operating systems; it is not included in the ActiveXperts Email Component installation package.

For details, please check the following URL: activexperts.com/smtp-pop3-component/schannel


Q2150081: Can I save messages retrieved from my POP3 mailbox so I can drag the messages to my Mozilla Thunderbird e-mail client?

Yes, that is possible. It works similar to MS Outlook Express. See KB 2150080.


Q2150050: I get an error message when I connect to my POP3 server.. How do I know the meaning of this error code?

The following page lists all ActiveXperts error messages: activexperts.com/support/errorcodes. You can lookup any ActiveXperts error code, including all ActiveXperts Email Component error codes.


Q2150080: Can I save messages retrieved from my POP3 mailbox so I can drag the messages to my Outlook Express e-mail client?

Yes you can. Use the SaveMIME method to save each incoming message to a MIME file. After the messages have been saved, you can drag/drop them to Outlook Express.


Q2150060: Why should I use the 'GetEmailHeader' method? The 'GetEmailMessage' retrieves the same fields as 'GetEmailHeader', and even more.

The GetEmailHeader is much faster, because it only reads the e-mail message header. It doesn't read the actual message body or e-mail attachments. Message bodies and attachments can be large, up to a few megabytes or even more.


Q2150040: I have 10 messages in my POP3 mailbox, with Message IDs [1..10]. When I delete message [5], do the Message ID's of message [6..10] change?

No, the Message ID's do not change. This is because the message is actually not deleted, but marked as deleted. It will be deleted as soon as the connection is broken. So, in your situation after deletion, you will have the following valid Message ID's: [1..4] and [6..10].


Q2150020: I want to connect to my POP3 server on a different port than default port 110. The 'Connect' function doesn't seem to support this. How can I achieve it?

You should set the HostPort property. HostPort is assigned 110 by default. Assign a different value to connect to a different port.

Note: You should set 'HostPort' BEFORE calling the Connect method.


Q2150030: When I delete a message from my POP3 mailbox, the CountMessages method still returns the same number of messages. Is this a bug?

No, it's not a bug. When you delete a message (by calling the DeleteMessage method), the message is not deleted yet, but marked as deleted. It will be deleted as soon as the connection is broken.


Q2150016: Which POP3 authentication protocols are supported?

Two authentication protocols are supported: PLAIN and APOP. By default, auto-detection is used to detect the POP3 server's preferred authentication method. Use the Authentication property to force a particular authentication method.


Q2150010: Is ActiveXperts Email Component compliant with any POP3 mail server?

ActiveXperts Email Component is RFC 821, RFC 822, RFC 1521 and RFC 1522 compliant. As a result, ActiveXperts Email Component is compliant with virtually any POP3 server. ActiveXperts Email Component also complies with secure mailservers (TLS/SSL) such as Microsoft Exchange, Gmail (pop.gmail.com) and Windows Live (live.com).


Q2150015: Does the ActiveXperts Email Component support secure POP3 (SSL)?

Yes, secure mailservers such as pop.gmail.com are supported. You should switch to secure mode through the SetSecure method.

VISUAL BASIC AND VBSCRIPT


Q2200040: I get the following error message when running a VBScript sample: "Microsoft VBScript runtime error: ActiveX component can't create object: 'AxEmail.Smtp'"

You have not installed and registered the ActiveXperts Email Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Email Component installation. You can download the installation file from the ActiveXperts download site.

To install the component manual, see the manual, chapter Installation (Manual).


Q2200030: I try to run the Visual Basic 6 sample project, but I get a runtime error: "User-defined type not defined". What's wrong?

You must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Email Component Type Library'.


Q2200100: I'm using Windows 64bit and I'm getting the following error when using your VBScript sample:
    "Microsoft VBScript runtime error: ActiveX component can't create object: 'AxEmail.Smtp'".
This applies to both CSCRIPT.EXE (command-line VBScript interpreter) and WSCRIPT.EXE (GUI VBScript interpreter). It also happens when I try the AxEmail.Pop3 object.

This is due to the fact that Windows uses the 64bit VBScript interpreter (C:\WINDOWS\SYSTEM32\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WSCRIPT.EXE) by default. Since the ActiveXperts Email Component control is a 32bit control, you should invoke the WOW64 subsystem. This means C:\WINDOWS\SYSTEM32\WOW64\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WOW64\WSCRIPT.EXE.


Q2200020: How do I use ActiveXperts Email Component object in my VBScript program?

Please read the following item: How to use ActiveXperts Email Component with VBScript. This document describes how to refer to ActiveXperts Email Component, and how to declare, create and use the objects.


Q2200010: How do I use ActiveXperts Email Component object in my Visual Basic 6 project?

Please read the following item: How to use ActiveXperts Email Component in Visual Basic

HTML AND JAVASCRIPT


Q2300020: We are using the component within HTML/JavaScript code. The browser is Internet Explorer. Each time the ActiveX control is loaded by the browser, a security warning is displayed. Have you any suggestion to remove this message?

There are basically three ways to avoid prompting:

  1. Add the website that hosts the ActiveX component to the trusted sites of all Internet Explorers. This would need some automatic configuration on your LAN's Internet Explorers, for instance through Group Policy (recommended) or through logon script. This way you only decrease Internet Explorer security for that particular site. Security for all other sites remain the same. This solution only works as long as the ActiveXperts Email Component users are part of your network.
  2. You can sign the component (AxEmail32.dll or AxEmail64.dll). If you only use the component for internal use (i.e. in your network), you can use the standard Windows Certificate Server (part of Win2003 and higher). For more more information on signing an ActiveX component yourself, see activexperts.com/support/toolkits/sign. If the component is used outside your network, you should use a public Certificate Authority, for instance Verisign. ActiveXperts Software does not offer facilities to sign ActiveX COM/OLE components.
  3. From the Internet Explorer menu, select "Tools" -> "Internet Options"; click the security tab, and click the 'Custom level...' button.
    In the list of options, change the 'Initialize and script ActiveX controls not marked as safe for scripting' setting from disable to prompt. When you restart Internet explorer and run the page again, Internet Explorer will ask you whether to run the control or not. When asked click 'Yes' and the page should work correctly.

Q2300010: How do I use ActiveXperts Email Component objects in my HTML form?

Please read the following section in the manual: How to use ActiveXperts Email Component with HTML/Javascript. This manual section describes how to refer to the ActiveXperts Email Component library, and how to declare, create and use the objects.


Q2300030: I want to sign ActiveXperts Email Component module so it can be used by any browser in our network without any security alerts. How can I digitally sign the module?

Please read the following article: How to digitally sign an ActiveXperts software component.

VISUAL C++


Q2400020: Can I use Visual Studio Express Edition to build the Visual C++ samples?

Yes, you can, but you can only compile the Console Applications. The Forms applications make use of the Microsoft MFC framework, which is not supported by Microsoft Visual Studio Express.


Q2400010: Which Visual Studio version is required to compile the Visual C++ samples?

You need Microsoft Visual Studio 2008 or higher. All sample projects are created in Visual Studio 2008. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.

If you use an older version of Visual Studio, you must recreate the sample projects yourself and add the source files.

See also the manual, section How to use ActiveXperts Email Component in Visual C++.


Q2400030: I want to create a new Visual C++ project. Which files do I need to include in my project to make use of ActiveXperts Email Component?

See manual, section How to use ActiveXperts Email Component in Visual C++.

VB.NET,VC#.NET


Q2500003: What .NET framework version is required to run the .NET sample projects?

The samples require .NET Framework 2.0 or higher.


Q2500002: Which Visual Studio version is required to compile the Visual Studio .NET samples?

You need Microsoft Visual Studio 2008 or higher. All sample projects are created in Visual Studio 2008. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.

All .NET samples make use of .NET framework 2.0


Q2500007: How can I use ActiveXperts Email Component objects in my Visual C# .NET project?

Please read the following document: Using ActiveXperts Email Component with Visual C# .NET. This document describes how to refer to the Email Component library, and how to declare, create and use the objects.


Q2500005: How can I use ActiveXperts Email Component objects in my Visual Basic .NET project?

Please read the following document: Using ActiveXperts Email Component with Visual Basic .NET. This document describes how to refer to the Email Component library, and how to declare, create and use the objects.


Q2500030: Why am I getting the following error message when compiling your Visual Csharp .NET sample: "Cannot load type library for reference "AxEmail". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)"

You haven't installed and registered the ActiveXperts Email Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Email Component installation, or by registring manually (see also FAQ Q2000015).


Q2500025: Why am I getting the following error message when compiling your Visual Basic .NET sample: "Namespace or type specified in the Imports 'AxEmail' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. "

You haven't installed and registered the ActiveXperts Email Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Email Component installation, or by registring manually (see also FAQ Q2000015).

ASP.NET


Q2550030: Why am I getting the following error message when compiling your ASP .NET Visual Csharp sample: "Cannot load type library for reference "AxEmail". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)"

See FAQ 2500030.


Q2550005: How can I use the ActiveXperts Email Component objects in ASP .NET with Visual Basic .NET?

See FAQ 2500003.


Q2550025: Why am I getting the following error message when compiling your ASP .NET Visual Basic sample: "Namespace or type specified in the Imports 'AxEmail' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. "

See FAQ 2500025.


Q2550007: How can I use ActiveXperts Email objects in ASP .NET with Visual C# .NET?

See FAQ 2500007.


Q2550002: Which Visual Studio version is required to compile the ASP .NET samples?

See FAQ 2500002.


Q2550003: What .NET framework version is required to run the ASP .NET sample projects?

See FAQ 2500003.

ASP


Q2570010: How do I use ActiveXperts Email Component objects in my classic ASP project?

Please read the following manual section: How to use ActiveXperts Email Component in ASP.

DELPHI


Q2600010: How do I use ActiveXperts Email Component objects in my Delphi project?

Please read the following manual section: How to use ActiveXperts Email Component in Delphi.

MISCELLANEOUS


Q2750060: When I try to send an e-mail, I get ERROR 169: 'EncryptMessage failure in SSPI module'. What's wrong?

This is a bug in the Operating System's SSPI (Security Support Provider Interface) module. It happens sometimes to Microsoft Vista/7 x64 Operating Systems and Windows 2008 x64 Operating Systems. To solve the issue, apply the latest Service Packs and Hotfixes. For details, please check support.microsoft.com/kb/978918/EN-US.


Q2750035: Is ActiveXperts Email Component thread-safe?

Yes, ActiveXperts Email Component is 100% thread-safe. It can be used by multiple applications simultaneously, and each individual application can have multiple concurrent threads using ActiveXperts Email Component.


Q2750055: Why am I getting error 134?

The hostname used to connect to your Smtp- or Pop3 server cannot be resolved to an IP address by your DNS server. Possible reasons are: an invalid hostname, or incorrect DNS settings.

LICENSING


Q2850035: I purchased the product and received a license key. How do I activate the product now?

Please read the manual, chapter: Purchase and Product Activation.


Q2850070: Is it possible to obtain the sourcecode of your product?

No, we do not ship or sell the source code of our products.

The only source code that is included with our products are code samples shipped, to show how to use the component in various programming languages.


Q2850010: What happens after the 30 day trial period?

After 30 days of evaluation, you won't be able to call the Smtp/Pop3 Connect methods anymore. If you call this function, nothing happens and LastError will indicate a license expiration.


Q2850030: Where can I purchase the product?

For detailed sales information, check the Sales webpage.


Q2850005: Where can I find detailed information about licensing?

To learn about the different license options for ActiveXperts Email Component, click here. Q2850050: Can I renew my maintenance contract after maintenance has expired?

Renewals that come in after maintenance has expired will be backdated to start from the old expiry date. Also, you are only able to get Technical Support and Software Maintenance when your support contract is valid.


Q2850025: If I buy a license, do I have to pay for future releases?

ActiveXperts' Maintenance Agreement entitles customers to use ActiveXperts' technical support services, and to receive all product upgrades, free of charge, during a specified Agreement duration. The Maintenance Agreement applies to all ActiveXperts products.

After purchase, you get 1 year Maintenance for free

After this free Maintenance period, Licensee may purchase Maintenance. The price for the Maintenance Agreement is 15% of the price that was payed for the product.

Read our Maintenance Agreement in PDF format.


Q2850022: How to deploy the component to multiple computers once the Distribution License is purchased?

Please read the following online article: How to distribute an ActiveXperts Component.


Q2850020: What is a 'Distribution License'?

The 'Distribution License' allows you to 'bundle' the component with your own software. It allows you to ship the product to an unlimited number of customers for an unlimited period of time. There are no limitations to functionality of the software.

Click here for more information about the ActiveXperts Email Component licensing options.

Once you have obtained a Distribution License, you receive a key that you can use on the target computers. Click here to read more about how to distribute this key with the core product DLL on the target computers.


Q2850015: What is the difference between a 'Standard License' and a 'Professional License'?

Click here for more information about the ActiveXperts Email Component licensing options.

ActiveXperts Error codes
Click here to view the full list of ActiveXperts error codes
Contact Support
To contact the ActiveXperts Help Desk, click here.