Archive for August, 2007

Sending a VPIM SMTP Message Using C#

Wednesday, August 8th, 2007

Here are some quick notes.

The built-in SmtpClient class isn’t going to work. Unity detects incoming VPIM messages using an Exchange event sink. The Unity event sink looks at the content type of the incoming message.

The SmtpClient class doesn’t expose this header. There’s no real way to change the content type for an outbound message using SmtpClient. I found some code that will help. Note that you need to be very careful and make sure your message is formatted correctly. Things like screwing up a MIME boundary will result in the message being dropped by the Unity event sink, so it will get sent on to Exchange. Exchange won’t understand the user name, and will respond back to the sender with a NDR.

Very useful diagnostic logging can be turned on and found in the directory for your Exchange server. You really need to use this log file if you run into any problems.

Infinite Loop

Tuesday, August 7th, 2007

Ok, so this cracked me up…but your mileage may vary.

I’ve been researching VPIM, a standard used to send voice mails around using SMTP. I searched Google for “C# VPIM.”

My own del.icio.us tags were tenth in the search results. Guess it’s not a very popular topic yet.