Ms-Exch-SMTP-Submit Permissions problem seems like invalid login/password

This just came to our attention. When sending email using Exchange Server, a Ms-Exch-SMTP-Submit Permissions problem seems like an incorrect login/password error. A sample of the Chilkat.MailMan’s LastErrorXml is shown below. To get more information, Google “Ms-Exch-SMTP-Submit permission”… <ChilkatLog> <SendEmail> <DllDate>Mar 6 2009</DllDate> <UnlockPrefix>anything for 30-day trial</UnlockPrefix> <Username>***</Username> <Component>Java</Component> <Recipients> <NumTo>1</NumTo> <To>***</To> <NumCC>0</NumCC> <NumBCC>0</NumBCC> </Recipients> <info>Need new SMTP connection</info> <SMTP_Connect> […]

Private Key Warning Dialog

If your application is using a pre-installed certificate for creating a digital signature, or for decrypting, then it needs access to the private key. (By pre-installed, we mean a certificate that has been imported from a PFX (or via the browser) into a Windows registry-based certificate store.) If you chose to enable strong private key protection, then the Windows operating […]

SFTP Progress Monitoring in C++

This C++ example demonstrates how to derive a class from the CkSFtpProgress base class to implement progress monitoring and abort for SFTP: // To monitor SFTP progress, derive a class from CkSFtpProgress and // provide implementations for AbortCheck and PercentDone: class MySFtpProgress : public CkSFtpProgress { public: MySFtpProgress() { } virtual ~MySFtpProgress() { } // Called periodically during any SFTP […]

AbortCheck Event in Chilkat .NET Components

The AbortCheck event is standard in Chilkat .NET classes that involve communications over sockets (FTP, POP3, SMTP, IMAP, HTTP, etc.) or time-consuming operations such as zipping/unzipping large files. There are three steps to using AbortCheck: 1. Enable event callbacks by setting the EnableEvents property = true. Chilkat.MailMan mailman = new Chilkat.MailMan(); mailman.EnableEvents = true; 2. Set the HeartbeatMs property. The […]

GMail Settings for POP3 and IMAP Access

The most common problem with reading email from GMail using Chilkat’s POP3 and IMAP API’s is the following: The user can see certain emails when interactively logged onto GMail with a web browser, but cannot see those emails using Chilkat’s POP3 or IMAP component. The problem is caused by a setting in your GMail account. The default setting causes an […]

Server object error ‘ASP 0177 : 800401f3’

This error is occasionally reported by customers using classic ASP: Server object error ‘ASP 0177 : 800401f3’ Server.CreateObject Failed The call to CreateObject in ASP looks like this: set cryptObj = Server.CreateObject(“Chilkat.Crypt2″) The problem is that IIS was unable to lookup “Chilkat.Crypt2” in the registry in order to get the location of the DLL file. There are many possible reasons […]

Object reference not set to an instance of an object.

Any Chilkat method that returns an object will return a NULL reference if the method failed. You should check for NULL and then examine the contents of the LastErrorText property. Here are examples in various programming languages: C# // Fetch the emails into a bundle object: Chilkat.EmailBundle bundle = null; bundle = imap.FetchBundle(messageSet); if (bundle == null ) { MessageBox.Show(imap.LastErrorText); […]

Anti-Virus Blocking Application’s SMTP Connection

Occasionally, Chilkat will receive a support email from a customer with a problem described this way: Outlook can connect to my SMTP server and send email, but my application cannot. I’ve checked the settings and they are identical to those used by Outlook. What could the problem be? The problem is often caused by an Anti-Virus program. The AV program […]