Find Sporting Goods on eBay
Video and Audio], Broadcasting and podcasting Broadcast On the Net

[description], Story, any other text you want to use.

Microsoft CRM Customization: MS Exchange Transport SMTP Event Sink

 by: Boris Makushkin

Microsoft CRM has variety of customizations options and tools. The official and the most popular is Microsoft CRM SDK: collection of C#.Net and partially VB.Net classes, methods and code samples. Here we would like to give you more complex case, when you call CRM SDK customization from custom MS Exchange event handler we are improving the functionality of MS Exchange MS CRM connector.

Imagine the case when you want outgoing email to be captured and placed into CRM, attached to Contact, Account or Lead they should belong to. If this is realized your salespeople can use any email tool to send their messages, they do not have to do it in CRM or Outlook Client for CRM.

MS Exchange OnSyncSave database event can't work with Sent folder it doesn't fire when message goes to Sent folder. The reason is described here:

PRB: Store Events Do Not Fire on the Outbox or Sent Item Folders;en-us;Q297274

Please, see SMTP Event Sink example in this article:;en-us;317327. Event handler works OnArrival event:

void ISMTPOnArrival.OnArrival(CDO.IMessage msg, ref CDO.CdoEventStatus EventStatus)


log = LogManager.GetLogger(typeof(ShieldsUp));

DOMConfigurator.Configure(new FileInfo(Environment.SystemDirectory + "/CustomerApp/log.config"));

try {



catch (Exception ex) {

log.Debug(ex.Message + "\n" + ex.StackTrace);


finally {




The class:

// ComVisible enables COM visibility of this class. The default is true.

// Explicitly setting this attribute to true, as shown below, is useful

// if ComVisible is set to false for the namespace and you want the

// classes to be accessible individually.


public class ShieldsUp: CDO.ISMTPOnArrival


Next the handling works similar to SyncSave handler:

private void ProcessMessage(CDO.IMessage msg)


string sFrom;

string sTo;

string sSubject;

string sBody;

string sSensitivity;



log.Debug("Firing Up ProcessMessage()");

sSubject = msg.Subject;

sBody = msg.TextBody;

sFrom = msg.From;

sTo = msg.To;

if (msg.Fields["urn:schemas:mailheader:sensitivity"].Value != null)

sSensitivity = msg.Fields["urn:schemas:mailheader:sensitivity"].Value.ToString();


sSensitivity = "Normal";

log.Debug("Message From: " + sFrom);

log.Debug("Message To: " + sTo);

log.Debug("Subject: " + sSubject);

log.Debug("Sensitivity: " + sSensitivity);

log.Debug("Body: " + sBody);

In deployment you should consider the following the handler will work only in the case of SMTP protocol delivery. If you use Outlook or Outlook Web Access, then delivery uses MAPI and OnArrival doesn't fire. Please see this article:;en-us;273233

The elegant fix is two SMTP gateways, find it here;en-us;Q288756

About The Author

Boris Makushkin is Lead Developer in Alba Spectrum Technologies USA nationwide Great Plains, Microsoft CRM customization company, based in Chicago, California, Colorado, Arizona, New York, Texas, Florida, Georgia and having locations in multiple states and internationally (, he is Microsoft CRM SDK, Transact SQL, C#.Net, Crystal Reports and VB.Net developer. Boris can be reached: 1-866-528-0577,

the dish network

Brodcast On the Net - streaming video, streaming audio, video conferencing, audio
Broadcast On the Net. If you are running a search for video conferencing and are looking for audio streaming or video streaminng and web conferenceing then you have come to the proper place. You can find many of the finest sites with the best conferencing services. Even find video studios or maybe the video talent to produce your program, no matter what you are looking for you can see the best streaming media here.
Brodcast On the Net - streaming video, streaming audio, video conferencing, audio

Internet shopping for the dish network is steadily booming (forgive the pun) and this means high competition between sites selling and marketing the dish network products. This competition is good for you because it means everyone selling the dish network has to watch their pricing like a hawk just to keep ahead of the pack.

The poster child dotcom business, has a lot to teach aspiring Internet entrepreneurs. Yet despite its huge product inventory, convenience and customer service, the company continues to lose millions of dollars and has seen a precipitous drop in the price of its stock. But things change. Lean sharp the dish network companies are springing up. The the dish network wholesaler has entered the market.

Main Menu
Broadcast On the Net
Site Map

Affiliate Ads, Links, news, etc.

News for 03-Apr-24

Source: BBC News - Home
David Moyes: Manchester United's great traditions have gone says Sunderland boss

Source: BBC News - Home
Gorging on love

Source: BBC News - Home
The longest kiss

Source: BBC News - Home
UN votes against Israeli settlements

Source: BBC News - Home
Chile anger as jailed Pinochet reign abusers ask forgiveness

Source: BBC News - Home
Libyan hijacker arrested in Malta

Source: BBC News - Home
Berlin truck attacker Anis Amri killed in Milan

Source: BBC News - Home
Is Nigeria's 'plastic rice' actually real?

Source: BBC News - Home
George North: World Rugby wants more information from RFU over 'non-compliance'

Source: BBC News - Home
British passenger missing from Queen Mary 2 liner


MD Meet | Fantasy Football | Fantasy Football Information | Take It Correctly
Copyright © 2005. Name of Site here. Last Updated: Wednesday, 03-Apr-2024 00:06:16 MDT.
Medical Meetings On The Net   Medical Presentations   Meetings On The Net