Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where to write CDO code? 1

Status
Not open for further replies.

Trusts

Programmer
Feb 23, 2005
268
US
Hi,
I have often built custom solutions in the 'ThisOutlookSession" module in Outlook. I have a request to take an app I wrote and make it more general to run on Exchange. I am not sure if the manager who made this request quite understands the architecture.

Is there a programming environment somewhere within the Exchange management screens( or elsewhere in Exchange) where code is written?

I only know to write within Outlook.

Thanks for any guidance!

KB
 
Would help if you could give an idea of what you plan to do.

I hope you find this post helpful.

Regards,

Mark
 
I have code that looks at incoming mail. If there is an email with an attachement, the attachement is stored to a dedicated directory (other processing uses the attachment). The purpose behind this is to get the user out of the middle of having to save the attachment. We are setting up a dedicated email address for the weekly attachment to be sent to (currently it is sent to the CFO).

By my take, using code in the dedicated Outlook account is sufficient - and it works. But my boss who is all agaga on server stuff, thought I should port it to Exchange, perhaps with the idea of applying to a set of email accounts, or passing the particular email account into the routine. (Never got that far in the discussion). Therefore my question back to -- where to put code in Exchange?

Thanks,
KB
 
Sounds to me like you would want to add a dll that does some kind of SMTP filtering based on an event sink.

Regretfully I can't offer more assistance.

I hope you find this post helpful.

Regards,

Mark
 
That's an SMTP transport event sink. You could write one in vbs, however the performance will likely be unacceptable in all but the smallest environments. VB or C++ in a dedicaded dll would be better. Scott Landry once wrote a few event sinks, you could probably find the source on MSDN.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top