Author |
|
reena_bharti Newbie
Joined: 11 November 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: 11 November 2006 at 3:22pm | IP Logged
|
|
|
objImap.UploadMessage(mailer.Message, "Sent", MessageFlagSet.SystemFlagsToString(SystemMessageFlags.Seen), mailer.Message.Date);
I am getting an error -
The server has responded with negative reply. The server responded: MBN00000003 BAD Protocol Error: "Specified date is not valid"..
Can you help me with this error
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 11 November 2006 at 3:37pm | IP Logged
|
|
|
Probably the date is incorrect? What date is in mailer.Message.Date?
If you're sure the date is ok, please enable IMAP4 session into a file using .Log property, run your code again, and then post the log here so we would be able to examine it. Thanks!
Regards,
Alex
|
Back to Top |
|
|
reena_bharti Newbie
Joined: 11 November 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: 11 November 2006 at 4:47pm | IP Logged
|
|
|
mailer is an smtp object and i am not setting up any date for it. Even if i use objImap.UploadMessage(mailer.Message, "Sent", MessageFlagSet.SystemFlagsToString(SystemMessageFlags.Seen)) constructor without a date parameter i am getting the same error.
What i am trying to do here is that i am sending an email using SMTP protocol and trying to upload the sent message in Sent folder.
[16:39:56.21] [INFO] Assembly version: 2.0.0.6.
[16:39:56.25] [INFO] Will upload message to folder "sent".
[16:39:56.27] [SEND] MBN00000003 APPEND "sent" (\Seen) "11-Nov-2006 00:00:00 --0500" {349+}\r\n
[16:39:56.28] [SEND] [Data chunk of 349 bytes sent.]
[16:39:56.28] [SEND] \r\n
[16:39:56.47] [INFO] Error: Socket connection has been aborted by local machine. InnerException message follows: An established connection was aborted by the software in your host machine
[16:39:56.47] [INFO] Will disconnect from host "ocugex01".
[16:39:56.47] [INFO] Disconnected from host "ocugex01".
This is what i have got in the log.
thanks for your instant reply.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 November 2006 at 10:19am | IP Logged
|
|
|
Yes, there is indeed a bug. We're already working on the update and will release it on Monday.
Regards,
Alex
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 13 November 2006 at 8:43am | IP Logged
|
|
|
We've fixed this bug. Please download the latest version of MailBee.NET Objects.
Best regards,
Andrew
|
Back to Top |
|
|
reena_bharti Newbie
Joined: 11 November 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: 13 November 2006 at 9:23am | IP Logged
|
|
|
If i am still facing the same problem is that mean there is some problem in configuring the host machine?
[09:18:48.30] [INFO] Assembly version: 2.0.0.6.
[09:18:48.31] [INFO] Will upload message to folder "Sent Items".
[09:18:48.31] [SEND] MBN00000003 APPEND "Sent Items" (\Seen) "13-Nov-2006 09:18:48 --0500" {349+}\r\n
[09:18:48.31] [SEND] [Data chunk of 349 bytes sent.]
[09:18:48.33] [SEND] \r\n
[09:18:48.39] [INFO] Error: Socket connection has been aborted by local machine. InnerException message follows: An established connection was aborted by the software in your host machine
[09:18:48.41] [INFO] Will disconnect from host "ocugex01".
[09:18:48.41] [INFO] Disconnected from host "ocugex01".
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 13 November 2006 at 12:11pm | IP Logged
|
|
|
Your log shows you're using MailBee.NET.dll v2.0.0.6, that means you haven't upgraded it. In our previous post, we provided the link to v3.0.0.12. Please upgrade MailBee.NET.dll and try again. Please note, you should also replace it in GAC (run %windir%\assembly through Start->Run), not only in MailBee.NET Objects installation folder.
Best regards,
Andrew
|
Back to Top |
|
|
reena_bharti Newbie
Joined: 11 November 2006 Location: United States
Online Status: Offline Posts: 8
|
Posted: 13 November 2006 at 9:12pm | IP Logged
|
|
|
Thank you very much.... it worked
|
Back to Top |
|
|