login about faq

Hey Guys,

I just downloaded and setup the latest 64bit version of SMTPQ from the github repo. After installing and starting the service I did not see any of the messages in the Que being processed. I looked at the log file and found allot of entries like below. Does the new version of SMTPQ require it's own unlock code? Is there any issues with the 64bit SMTPQ receiving email form the 32bit.dll?

I also noticed that the smtp host is set to localhost. Is this because SMTPQ can not decode the headers in the .eml files? --smtpHostname: localhost

(Tue, 29 Mar 2016 16:01:06 -0700) ChilkatLog: CloseSmtpConnection: DllDate: Jan 18 2016 ChilkatVersion: UnlockPrefix: Anything for 30-day trial. Username: IV-WEB:SYSTEM Architecture: Little Endian; 64-bit Language: Visual C++ 11.0 / x64 VerboseLogging: 0 --CloseSmtpConnection --ChilkatLog

(Tue, 29 Mar 2016 16:01:06 -0700) Send Failed, will try again: e_20160329_200520_9a51950030E254A73.eml (Tue, 29 Mar 2016 16:01:06 -0700) tryCount: 3 (Tue, 29 Mar 2016 16:01:06 -0700) sleepMillisec: 15000

Thanks, Erik

asked Mar 29 at 19:09

emartinson's gravatar image


edited Mar 29 at 19:11

Hi Erik,

Yes, the SMTPQ Windows Service app uses CkMailMan just like any other application. There should already be a call to UnlockComponent within the SMTPQ source code. This is where you would insert your unlock code.


answered Apr 02 at 14:34

chilkat's gravatar image

chilkat ♦♦

That kind of what I figured. So when I get errors like above. What would I check? I am guessing that the license key (or some form of it) is also encoded in x-smtpPort, x-smtpHOST, x-smtpUsername and x-smtpPassword. Thanks.

(Apr 04 at 13:43) emartinson


The unlock code is not encoded and stored in the email header. Given that the SMTPQ source code and VC++ project files are provided, you simply insert your unlock code in the source and build.

In the SmtpQService sub-directory, you'll find the svc.cpp file. That's were you put your unlock code. Here's the current content of that file:

#include <Windows.h> #include <string>

#include "svc.h" #include "ThreadManager.h" #include <CkMailMan.h>

// This Windows service uses the Chilkat MailMan, which requires a license. // The following should be replaced with a purchased unlock code: const char *g_UnlockCode = "Anything for 30-day trial.";

int g_numThreadsRunning = 0;

//--------------------------------------------------------- bool smtpqInitialize(void) { // We can unlock the Chilkat MailMan, discard the object, and then all subsequent // CkMailMan instantiations are already unlocked when created. CkMailMan mailman; if (!mailman.UnlockComponent(g_UnlockCode)) { return false; }

return true;

answered Apr 05 at 09:14

chilkat's gravatar image

chilkat ♦♦

edited Apr 05 at 09:14

Where would I put the code if I am using the per-compiled version from the bin folder? I am not a C developer, I would not know where/how to compile my own instance.

(Apr 05 at 13:23) emartinson
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 29 at 19:09

Seen: 304 times

Last updated: Apr 05 at 13:23

powered by OSQA