exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to submit deferred/deleted messages

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
Dowd



Joined: 06 Aug 2007
Posts: 1

PostPosted: Mon Oct 20, 2003 11:03 am    Post subject: How to submit deferred/deleted messages Reply with quote

Hello,
I've written a OnMessageSubmission sink that intercepts messages
with certain attributes from being immediately sent. Later on after
some big brother type processing, I'd like to either delete or send
the message.

Question 1: What is the best way of doing this? Delete the message
and re-submit? Defer the message and un-defer it later?

Defer:
Question 2a: How to iterate unsent (or deferred in my case) messages?
I looked into IMailMsgStoreDriver::EnumMessages() and
IMailMsgEnumMessages::Next() but they don't give me back a
IMailMsgProperties interface, through which I'd undefer the message
(IMailMsgProperties::PutDWORD(IMMPID_MP_DEFERRED_DELIVERY_FILETIME,
0)).
Question 2b: Will this send the message immediately or will I have to
restart the SMTP server?

Delete:
Question 2a: How to resubmit? If I delete the message, how do I later
on create/get a IMailMsgProperties to pass to
ISMTPServer::AllocMessage() and ISMTPServer::SubmitMessage()?
Question 2b: Will the message-id change when I resubmit?

Thanks,

dowd

Archived from group: microsoft>public>exchange2000>transport
Back to top
View user's profile Send private message
dmarcil



Joined: 06 Aug 2007
Posts: 1

PostPosted: Wed Sep 29, 2004 8:31 pm    Post subject: Re: How to submit deferred/deleted messages Reply with quote

Dowd,

We need to do something similar, did anyone give you an answer?

Dowd wrote:
> *Hello,
> I've written a OnMessageSubmission sink that intercepts messages
> with certain attributes from being immediately sent. Later on after
> some big brother type processing, I'd like to either delete or send
> the message.
>
> Question 1: What is the best way of doing this? Delete the message
> and re-submit? Defer the message and un-defer it later?
>
> Defer:
> Question 2a: How to iterate unsent (or deferred in my case)
> messages?
> I looked into IMailMsgStoreDriver::EnumMessages() and
> IMailMsgEnumMessages::Next() but they don't give me back a
> IMailMsgProperties interface, through which I'd undefer the message
> (IMailMsgProperties::PutDWORD(IMMPID_MP_DEFERRED_DELIVERY_FILETIME,
> 0)).
> Question 2b: Will this send the message immediately or will I have
> to
> restart the SMTP server?
>
> Delete:
> Question 2a: How to resubmit? If I delete the message, how do I
> later
> on create/get a IMailMsgProperties to pass to
> ISMTPServer::AllocMessage() and ISMTPServer::SubmitMessage()?
> Question 2b: Will the message-id change when I resubmit?
>
> Thanks,
>
> dowd *



--
dmarcil
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message30032.html

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
CDO for Exchange 2000 - accessing Inbox messages I can get a reference to a user's Inbox with... , adModeRead, adOpenSource and returns a good value, but I can't figure out how to get a referenc

Messages in the deferred delivery queue following MS article Hi, I need to forward all missaddressed emails to a single mailbox so carried out the instructions at this support article Unfortunately email that is to be sent to the second SMTP server with the event sink stays

Ex2K & Outlook2002 deferred messages do not work I've got Exchange 2000 SP3 (and the SP3 rollup) running on Win2K SP4. My clients are all Outlook 2002 SP2, running on Windows XP SP1. When someone sends a deferred message in Outlook, the message sits in the Outbox and never sends when the time comes. Out

"deleted items" how can I configured Exchange 2003 to automatically delete the "deleted items" after 1 week - or any other time formula. Thanks, Raul Rego

deleted record can i configured in exchange to auto delete the users "deleted items" after 1 week or whatever date is stablish? thanks raul rego
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group