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 […]

SMTPQ max threads?

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 of email? Answer: 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 […]

SMTP SSH Tunneling (Port Forwarding)

ASP: SMTP SSH Tunneling (Port Forwarding) SQL Server: SMTP SSH Tunneling (Port Forwarding) C#: SMTP SSH Tunneling (Port Forwarding) C++: SMTP SSH Tunneling (Port Forwarding) MFC: SMTP SSH Tunneling (Port Forwarding) C: SMTP SSH Tunneling (Port Forwarding) Delphi: SMTP SSH Tunneling (Port Forwarding) Visual FoxPro: SMTP SSH Tunneling (Port Forwarding) Java: SMTP SSH Tunneling (Port Forwarding) Perl: SMTP SSH Tunneling […]

Mail not sent when SendEmail returns success?

Question: Looks to me like sendmail is returning true before the message has been sent but I’m sure you’ll tell me that there is no way this can happen… Answer: The SendEmail method returned true after the email was successfully handed over to the SMTP server. When the SMTP server decides to actually forward the email onward to its destination […]

421 #4.4.5 Too many connections from your host

Question: I get this error from my SMTP server: 421 #4.4.5 Too many connections from your host What does it mean? Answer: The “too many connections from your host” error is the text of the error message that is coming back from the SMTP server. It indicates that the SMTP server has a limit on how many simultaneous open connections […]

POP3 and SMTP multithread-safe?

Question: Is your component fully threadable? Is it thread safe to use in a multithreaded application? Does it Supports multiple (simultaneous) connections? Answer: Yes, it’s safe for multi-threading. However, you cannot have several threads all trying to share the same POP3 or SMTP session at the same time because they would all interfere with each other — for example, one […]

SMTP Protocol (in a Nutshell)

Question: SendMime requires a from  and  recipients address string, but the MIME message contains both .  The message I receive from the SendMime seems to ignore the addresses in the call and uses the one in the MIME.  So why require a from and recipient address? Answer: The SMTP protocol works like this: 1) A client connects to an SMTP […]

Port 465 is Normally the Implicit SSL SMTP Port, but not always…

If you open a DOS prompt and telnet to an SMTP server (typically port 25 for non-SSL, port 465 for SSL), you should get a human-readable printable-text “HELLO” message from the non-SSL port, but binary SSL-handshake protocol gobbly-gook from an implicit SSL port. For example: > telnet mail.chilkatsoft.com 25 220 mail.chilkatsoft.com ESMTP MailEnable Service, Version: 0-1.85- ready at 05/30/08 08:04:19 […]

Service Extension for Delivery Status Notifications (DSNs)

Chilkat’s email component supports the SMTP DSN extensions (RFC 3461). The MailMan object includes these properties specific to RFC 3461: DsnEnvid: (An SMTP DSN service extension feature) An arbitrary string that will be used as the ENVID property when sending email. See RFC 3461 for more details. DsnNotify: (An SMTP DSN service extension feature) A string that will be used […]