Author |
|
hbukhari Newbie
Joined: 08 February 2013 Location: United Arab Emirates
Online Status: Offline Posts: 14
|
Posted: 08 February 2013 at 12:20pm | IP Logged
|
|
|
Dear All,
i'm evaluating the MailBee.Net object but i got the below error for the below code, anyone can help in resolve this issue
Code:
MailBee.Global.LicenseKey = "Demo License"
Dim mailer As Smtp = New Smtp()
mailer.Log.Enabled = True
mailer.Log.Filename = "C:\temp\log.txt"
mailer.SmtpServers.Add("SMTPServerIP", "User", "Password")
Dim msgReader As MsgConvert = New MsgConvert()
mailer.Message = msgReader.MsgToMailMessage("e:\1.msg")
mailer.Message.From.Email = "Sender@domain.com"
mailer.To.Add("resipiant@domain.com")
mailer.Send()
Error is:
[00:13:49.13] [INFO] Assembly version: 7.3.2.388.
[00:13:49.12] [INFO] Will send mail message.
[00:13:49.15] [INFO] Will resolve host "SMTPServerIP".
[00:13:49.15] [INFO] Host "SMTPServerIP" resolved to IP address(es) SMTPServerIP.
[00:13:49.15] [INFO] Will connect to host "SMTPServerIP" on port 25.
[00:13:49.15] [INFO] Socket connected to IP address SMTPServerIP on port 25.
[00:13:49.16] [RECV] 220 haad-e2k7hubDomain.com Microsoft ESMTP MAIL Service ready at Sat, 9 Feb 2013 00:13:43 +0400\r\n
[00:13:49.16] [INFO] Connected to mail service at host "SMTPServerIP" on port 25 and ready.
[00:13:49.16] [INFO] Will send Hello command (HELO or EHLO).
[00:13:49.17] [SEND] EHLO [TestServerIP]\r\n
[00:13:49.17] [RECV] 250-haad-e2k7hubDomain.com Hello [TestServerIP]\r\n250-SIZE\r\n250-PIPELINING\r\n250-DSN\r\n250-ENHANCEDSTATUSCODES\r\n250-X-ANONYMOUSTLS\r\n250-AUTH NTLM\r\n250-X-EXPS GSSAPI NTLM\r\n250-8BITMIME\r\n250-BINARYMIME\r\n250-CHUNKING\r\n250-XEXCH50\r\n250 XRDST\r\n
[00:13:49.17] [INFO] SMTP Hello completed.
[00:13:49.17] [INFO] Will login as "Sender".
[00:13:49.17] [INFO] Will try SASL NTLM authentication method.
[00:13:49.17] [SEND] AUTH NTLM\r\n
[00:13:49.18] [RECV] 334 \r\n
[00:13:49.18] [SEND] TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==\r\n
[00:13:49.18] [RECV] 334 TlRMTVNTUAACAAAABgAGADgAAAAVgonixsUm0cNBGGkAAAAAAAAAAIwAjAA+AAAABQLODgAAAA9BAEgAQwACAAYAQQBIAEMAAQAYAEgAQQBBAEQALQBFADIASwA3AEgAVQBCAAQAFABhAGgAYwAuAGcAbwB2AC4AYQBlAAMALgBoAGEAYQBkAC0AZQAyAGsANwBoAHUA YgAuAGEAaABjAC4AZwBvAHYALgBhAGUABQAUAGEAaABjAC4AZwBvAHYALgBhAGUAAAAAAA==\r\n
[00:13:49.18] [SEND] TlRMTVNTUAADAAAAGAAYAHAAAAAIAQgBiAAAAAAAAABYAAAABgAGAFgAAAASABIAXgAAABAAEACQAQAAFYKI4gYBsR0AAAAPlh5jIL627oAhUccZS2FpMmMAYwBzAEgAQQBBAEQAMQA3ADQAOABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM1J09rE/CIwR8Ngn8nC 5wMBAQAAAAAAAGj3cs44Bs4BFqQ3LQ4OqPIAAAAAAgAGAEEASABDAAEAGABIAEEAQQBEAC0ARQAyAEsANwBIAFUAQgAEABQAYQBoAGMALgBnAG8AdgAuAGEAZQADAC4AaABhAGEAZAAtAGUAMgBrADcAaAB1AGIALgBhAGgAYwAuAGcAbwB2AC4AYQBlAAUAFABhAGgA YwAuAGcAbwB2AC4AYQBlAAgAMAAwAAAAAAAAAAEAAAAAIAAAtS9qJdxF/W74pIQoKXCrofDmgWlNBxcnsGnjN4Q+KpoKABAAAAAAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAGkcVmneobHy4XwGl8uAzKM=\r\n
[00:13:49.19] [RECV] 235 2.7.0 Authentication successful\r\n
[00:13:49.19] [INFO] Logged in as "Sender".
[00:13:49.19] [INFO] Will send mail message to SMTP server "SMTPServerIP".
[00:13:49.20] [INFO] Will submit sender and recipients.
[00:13:49.20] [SEND] MAIL FROM:<Sender@domain.com>\r\n
[00:13:49.20] [SEND] RCPT TO:<resipiant@domain.com>\r\n
[00:13:49.20] [RECV] 250 2.1.0 Sender OK\r\n
[00:13:49.20] [RECV] 250 2.1.5 Recipient OK\r\n
[00:13:49.20] [INFO] Sender and recipients accepted by SMTP server. Will send message data now.
[00:13:49.20] [SEND] BDAT 8192\r\n
[00:13:49.20] [SEND] MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 7.3.2.388\r\nSubject: tes ... alse" Priority=3D"61" SemiHidden=3D"false" Unhid=\r\neWhenUsed=3D" [Data chunk of 8192 bytes sent.]
[00:13:49.20] [SEND] BDAT 8192\r\n
[00:13:49.20] [SEND] false" Name=3D"Light List"/>\r\n<w:LsdException Locked=3D"false" P ... \r\n<w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D [Data chunk of 8192 bytes sent.]
[00:13:49.20] [SEND] BDAT 8192\r\n
[00:13:49.20] [SEND] "false" Unhid=\r\neWhenUsed=3D"false" Name=3D"Medium Shading 2 Acc ... o-style-unhide:no;\r\n mso-ansi-font-size:11.0pt;\r\n mso-bidi-f [Data chunk of 8192 bytes sent.]
[00:13:49.20] [SEND] BDAT 8192\r\n
[00:13:49.20] [SEND] ont-size:11.0pt;\r\n font-family:"Calibri","sans-serif";\r\n mso ... =\r\nin 0in 0in 0in'><tr style=3D'mso-yfti-irow:0;mso-yfti-firstro [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] w:yes;mso-yfti=\r\n-lastrow:yes'><td style=3D'padding:0in 0in 0in ...
";mso-fareast-font-family:"Times New Roman";mso-fareast-theme-f [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] ont:minor-fa=\r\nreast;color:#474747;mso-no-proof:yes'>633</span>< ... st-theme-font:minor-fareast;color:#1F497D;mso-no-proof:yes'> </s [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] pan></=\r\nspan><span style=3D'mso-bookmark:_MailAutoSig'></span>< ... an></p></td><span style=3D'mso-bookmark:_MailAutoSig'></sp=\r\nan> [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] <td style=3D'padding:.75pt .75pt .75pt .75pt'><p class=3DMsoNorm ... reast-font-family:Calibri;mso-bidi-font-family=\r\n:Calibri;color: [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] #474747;mso-no-proof:yes'><o:p></o:p></span></span></p></td>=\r\n< ... es New Roman","serif";mso-farea=\r\nst-font-family:Calibri;color:# [Data chunk of 8192 bytes sent.]
[00:13:49.21] [SEND] BDAT 8192\r\n
[00:13:49.21] [SEND] 1F497D;mso-no-proof:yes'><o:p></o:p>\rtlch </=\r\nspan></span></p> ... x/yvK/9Dz/+j5/5bl/ztzqy7L/y/L/yjJ/zrO/ybJ//r+/5nl\r\n/3Lb//3+/8jx/ [Data chunk of 8192 bytes sent.]
[00:14:09.97] [INFO] Will disconnect from host "SMTPServerIP".
[00:14:09.97] [INFO] Disconnected from host "SMTPServerIP".
[00:14:09.97> [INFO> Error: Socket connection has timed out. InnerException message follows: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 09 February 2013 at 4:16am | IP Logged
|
|
|
Try supplying the following option for SMTP server config:
Code:
server.SmtpOptions = ExtendedSmtpOptions.NoChunking |
|
|
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hbukhari Newbie
Joined: 08 February 2013 Location: United Arab Emirates
Online Status: Offline Posts: 14
|
Posted: 15 February 2013 at 10:15pm | IP Logged
|
|
|
the issue was from symatic AV, when i disapple it its working fine...
|
Back to Top |
|
|