Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   C# Redemtion not able to send reply (http://www.outlookbanter.com/add-ins-outlook/79031-c-redemtion-not-able-send.html)

[email protected] September 22nd 08 09:28 AM

C# Redemtion not able to send reply
 
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

Ken Slovak - [MVP - Outlook] September 22nd 08 02:07 PM

C# Redemtion not able to send reply
 
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.

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


wrote in message
...
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



[email protected] September 22nd 08 06:31 PM

C# Redemtion not able to send reply
 
On Sep 22, 6:07*pm, "Ken Slovak - [MVP - Outlook]"
wrote:
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

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

Ken Slovak - [MVP - Outlook] September 22nd 08 11:36 PM

C# Redemtion not able to send reply
 
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

[email protected] September 23rd 08 05:29 AM

C# Redemtion not able to send reply
 
On Sep 23, 3:36*am, "Ken Slovak - [MVP - Outlook]"
wrote:
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

didn't help removing .SentOn()

[email protected] September 23rd 08 08:19 AM

C# Redemtion not able to send reply
 
On Sep 23, 3:36*am, "Ken Slovak - [MVP - Outlook]"
wrote:
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



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


Ken Slovak - [MVP - Outlook] September 23rd 08 02:23 PM

C# Redemtion not able to send reply
 
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.

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


wrote in message
...
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?


Dmitry Streblechenko September 24th 08 01:06 AM

C# Redemtion not able to send reply
 
What are your versions of Outlook and Redemption?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
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





All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com