0 votes
by (750 points)

hello below is the log for the above error please come back with solution thanks

2015-03-16 08:01:34.392 Opening log file.
2015-03-16 08:01:34.392 Using FileLogWriter version 2.0.5512.0.
2015-03-16 08:07:11.169 Opening log file.
2015-03-16 08:07:11.169 Using FileLogWriter version 2.0.5512.0.
2015-03-16 08:07:11.826 DEBUG Smtp(3)[10] Info: State changed from 'Disconnected' to 'Connecting'.
2015-03-16 08:07:11.826 INFO Smtp(3)[10] Info: Connecting to 192.168.110.4:25 using Smtp 2.0.5512.0 (trial version).
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: Connection succeeded.
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: State changed from 'Connecting' to 'Reading'.
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 220 tisintranet.TANDON.LOCAL Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Mon, 16 Mar 2015 20:37:12 +0530
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: State changed from 'Reading' to 'Ready'.
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: State changed from 'Ready' to 'Sending'.
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Command: EHLO infxit-03667.tandon.local
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: State changed from 'Sending' to 'Reading'.
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-tisintranet.TANDON.LOCAL Hello [172.28.53.48]
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-TURN
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-SIZE 102400000
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-ETRN
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-PIPELINING
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-DSN
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-ENHANCEDSTATUSCODES
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-8bitmime
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-BINARYMIME
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-CHUNKING
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250-VRFY
2015-03-16 08:07:11.841 INFO Smtp(3)[10] Response: 250 OK
2015-03-16 08:07:11.841 DEBUG Smtp(3)[10] Info: State changed from 'Reading' to 'Ready'.
2015-03-16 08:07:11.857 DEBUG Smtp(3)[10] Info: State changed from 'Ready' to 'Sending'.
2015-03-16 08:07:11.857 INFO Smtp(3)[10] Command: MAIL FROM:noreply@iqbackoffice.com SIZE=255
2015-03-16 08:07:11.857 DEBUG Smtp(3)[10] Info: State changed from 'Sending' to 'Reading'.
2015-03-16 08:07:11.857 INFO Smtp(3)[10] Response: 250 2.1.0 noreply@iqbackoffice.com....Sender OK
2015-03-16 08:07:11.857 DEBUG Smtp(3)[10] Info: State changed from 'Reading' to 'Ready'.
2015-03-16 08:07:11.857 DEBUG Smtp(3)[10] Info: State changed from 'Ready' to 'Pipelining'.
2015-03-16 08:07:11.857 INFO Smtp(3)[10] Command: RCPT TO:rahulacc13@gmail.com NOTIFY=FAILURE
2015-03-16 08:07:11.857 INFO Smtp(3)[10] Response: 250 2.1.5 rahulacc13@gmail.com
2015-03-16 08:07:11.857 INFO Smtp(3)[10] Command: BDAT 255 LAST
2015-03-16 08:08:11.886 ERROR Smtp(3)[10] Info: Rebex.Net.SmtpException: Timeout exceeded.
at Rebex.Net.Smtp.PL()
at Rebex.Net.Smtp.CM(Int32 A, Boolean B)
at Rebex.Net.Smtp.EDB(Boolean A, String[] B, PIB C, String D, Int64 E)
at Rebex.Net.Smtp.GDB(String A, String[] B, String C, Stream D, TransferEncoding E)
at Rebex.Net.Smtp.MDB(MimeMessage A, Stream B, MailAddress C, MailAddressCollection D)
at Rebex.Net.Smtp.NDB(MimeMessage A, MailAddress B, MailAddressCollection C)
2015-03-16 08:08:12.276 DEBUG Smtp(3)[10] Info: State changed from 'Pipelining' to 'Disposed'.

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (58.9k points)

Hello,

it looks like something is causing trouble in your network (somewhere along the way from the Smtp client to the server, it might be a firewall, or antivirus software for instance).

Please first try disabling the Chunking and Pipelining extensions, which helped some of our clients in this situation (you have to use the Smtp instance for this purpose, not just the Smtp.Send static method):

Smtp smtp = new Smtp();
smtp.LogWriter = new Rebex.FileLogWriter("log.txt", Rebex.LogLevel.Debug);
// disable pipelining and chunking extensions
smtp.EnabledExtensions &= ~(Rebex.Net.SmtpExtensions.Pipelining | Rebex.Net.SmtpExtensions.Chunking);

smtp.Connect("server");
smtp.Send("from", "to", "subject", "body");
smtp.Disconnect();

and let us know whether you are able to send the email now with these extensions disabled. Thanks!

...