Re: How to submit deferred/deleted messages
From: dmarcil (dmarcil.1dddc7_at_mail.mcse.ms)
Date: 09/29/04
- Previous message: Kevinm [MVP]: "Re: Exchange 2k Question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 16:31:37 -0500
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
- Previous message: Kevinm [MVP]: "Re: Exchange 2k Question"
- Messages sorted by: [ date ] [ thread ]