Why are you setting .SentOn? Try not setting it and see what happens.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
snip
wrote in message
...
I have following code which tries toreplyto mail, however the mail
sits in drafts and displays "Message isnotsent".
Redemption.RDOFolder defaultFolder =redemption.findRDOFolder("Inbox",
rdoStore);
Redemption.RDOMail rdoMail =redemption.findRDOMail("Test Subject",
defaultFolder);
//Create a replyall mail object
Redemption.RDOMail replyMail = rdoMail.ReplyAll();
replyMail.SentOn = DateTime.Now;
replyMail.Save();
replyMail.Send();
Please help
I mentioned to forget that I am starting the send receive after the
replyMail.send() is called. Still I see the mail seating in the Drafts
folder. Thats the reason I raised the question here in the forums. I
also tried doing it myself manually (click on send/receive or function
key F9) without luck.
I also tried moving the replyMail to Outbox using replyMail.Move(..)
When I looked at the mail in Draft, it says "This message has not been
sent" I don't know whats going on