To install the Chilkat SMTPQ Service on Windows 64-bit:
- Download Chilkat SMTPQ 64-bit and save to any directory.
- Run the ChilkatSmtpQ_x64.msi. On the “Select Installation Folder” dialog, do not select the default install folder. Instead, choose a simpler, shorter path such as “C:\smtpq\”. Also, install for “Everyone”.
- Open Windows Explorer and navigate to c:\smtpq. Right-click on the SmtpQConfig.exe program and “Run as Administrator”.
- Make sure the “64-bit Windows” checkbox is checked.
- Click on the “Install Service” button. This should install the SMTPQ service.
- Make sure the settings are set to the paths and values desired and click “Apply”.
- Click on the “Start Service” button to start the service for the first time. (By default, the service was installed with the “auto-start” option. The SMTPQ service will automatically start when the computer is started.
Question regarding SMTPQ:
On the new server I mapped a network drive that was connected to the NAS box that holds the queue:
s:\ = \\xyz\smtpq\
When I set the folders in smtpQ Manager as follows the service will not start
Queue Directory: s:\queue
Undelivered Directory: s:\undelivered
However if I use the network paths as follows:
Queue Directory: \\xyz\smtpq\queue
Undelivered Directory: \\xyz\smtpq\undelivered
The SMTPQ service starts. Why does using the mapped drive letter fail?
Using the mapped drive letter fails because the Windows Service account does not have the mapping. The drive letter mapping is specific to your interactive user account.
I’m trying to install SMTPQ on Windows Server 2008 only nothing happens. It won’t install the service, no messages, nothing.
Download and install the Chilkat SMTPQ service from this URL: http://www.chilkatsoft.com/downloads_misc.asp
The SMTPQ Windows Service is not installed (intentionally). To complete the install, click on the Windows Start menu button (bottom left of desktop) and select “All Programs–>Chilkat–>SMTPQ Configure”. You may then edit the directory paths used by SMTPQ. To install the Service, click on the “Install Service” button. The remainder is self-explanatory — to uninstall the service, click on “Uninstall Service”, to start the service, click on “Start Service”, etc.
Question: With the SMTPQ service, do you have some guidelines on the best practice
settings for the number of threads required for sending different quantities
The SMTPQ is an SMTP client, and thus it connects to SMTP servers to send email. However, it may be configured to use any number of threads so theoretically each thread may be communicating with a different SMTP server. The SMTP server to be used for an email is determined at the time mailman.SendQ is called. The mailman.SmptHost property value, and other mailman property settings such as SMTP login/password, encryption/signing requirements, etc. are included with the email passed to SMTPQ.
To answer the question: If all of your emails are sent via the same SmtpHost, you wouldn’t want to overload that SMTP server by using too many SMTPQ threads. Also, some SMTP servers limit the number of simultaneous connections accepted from a single IP address, so if the SMTPQ thread count is too high, and they are all trying to send via the same SMTP server, some will be rejected.
This blog post provides more information about using multiple SMTP servers in a round-robin fashion:
The SMTPQ service is not an SMTP server. It’s a service that watches a directory
for special .eml files. When a .eml file appears, it reads it, extracts and removes information
from the header and sends the email by connecting to an SMTP server.
The information extracted from the .eml includes the SMTP hostname, login, password, and other
The purpose of the SMTPQ service is to move to move the mail-sending to a process outside the
application. There are several reasons:
1) To send via SMTPQ, the application writes a file and returns immediately. It is not a time-consuming process.
2) If the computer is shutdown or crashes, the SMTPQ will pick up where it left off when the computer is restarted.
3) The SMTPQ will retry sending in cases where temporary problems may prevent the mail sending.