through), most of them receiving and some users not are receiving the emails which we sent and got the below error. This issue happening intermittently.Please help me to resolve this issue ASAP. Urgent issue.
Chilkat Version : ChilkatDotNet2_x64 - 126.96.36.199
ChilkatLog: SendEmail: DllDate: Mar 5 2007 SMTP_Connect: Connecting to SMTP server smtp1.xx.com:25 smtp_host: smtp1.xx.com smtp_port: 25 smtp_user: NULL trying_auth_method: NONE 421 4.7.0 Error: too many connections InitialResponse: 421 4.7.0 Error: too many connections Failed to get initial SMTP response.. The SMTP server may be denying access for this domain. Failed to connect to SMTP server.
asked May 25 '16 at 05:01
You can increase the connections on the email server, both unix and windows have configurations for this.
or when you get the error, set up a loop, sleep for some time, and try again.
answered May 25 '16 at 11:03
I think the creation of the Mailman instance should not be inside the loop. Every Mailman will cause a new connection to the SMTP server. I guess it should be something like this:
Chilkat.MailMan mailman = new Chilkat.MailMan(); mailman.UnlockComponent("XXXXXX"); mailman.SmtpHost = "smtp1.xx.com"; mailman.SmtpPort = 25;
answered May 25 '16 at 11:29