C# Redemtion not able to send reply

S

surykant.kanada

I have following code which tries to reply to mail, however the mail
sits in drafts and displays "Message is not sent".

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
 
K

Ken Slovak - [MVP - Outlook]

That's a Redemption FAQ, covered on the Web site. It's normal for the items
to sit in Drafts and they won't go out until either a scheduled send/receive
or until you call to engage the send/receive transport by using SyncObjects
and starting a synch.
 
S

surykant.kanada

That's aRedemptionFAQ, covered on the Web site. It's normal for the items
to sit in Drafts and they won't go out until either a scheduledsend/receive
or until you call to engage thesend/receive transport by using SyncObjects
and starting a synch.

--
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


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
 
K

Ken Slovak - [MVP - Outlook]

Why are you setting .SentOn? Try not setting it and see what happens.





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
 
S

surykant.kanada

Why are you setting .SentOn? Trynotsetting 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>



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 hasnotbeen
sent" I don't know whats going on



I forgot to add here that I was trying to reply to a mail in a shared
(delegated with admin rights) inbox. Reply to mails in own account
work correctly.

So now I have questions below
1. does redemption supports replying to mails in shared inbox?
2. if yes how?
 
K

Ken Slovak - [MVP - Outlook]

That's a rather important bit of information. If you call to SyncObjects
you're just calling for a send/receive in your own mailbox account. You
might just have to wait for the delegate mailbox to send.




<snip>

I forgot to add here that I was trying to reply to a mail in a shared
(delegated with admin rights) inbox. Reply to mails in own account
work correctly.

So now I have questions below
1. does redemption supports replying to mails in shared inbox?
2. if yes how?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top