Sign in
Dan's WebDAV 101
This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
.msg
.net
2000
2003
2007
2010
activesync
api
appointment
appointments
attachment
attachments
authentication
basic
body
C#
c++
CDO
CDO 1.21
CDOEX
CDOSYS
crash
create
Csharp
custom
custom mail headers
debugging
delete
DevMsgTeam
distribution
dump
dumps
eas
enumerate
EWS
example
examples
Exchange
Exchange 2007
Exchange 2010
exchange managed API
exchange web services
exoledb
FBA
file
folder
folders
Forms based authentication
free
freebusy
get
hang
HOWTO
http
ical
icalendar
item
List
mailbox
mapi
meeting
meeting request
message
message body
messaging
mime
MOVE
oof
OOM
Outlook
OWA
powershell
properties
propfind
proppatch
put
read
sample
samples
schema
script
search
security
smtp
stream
support
supported
System.Net.Mail
System.Web.Mail
VB
vb script
vb.net
vb6
VBS
vbscript
VCalendar
webbdav
WebDAV
webdav101blog
xml
Browse by Tags
MSDN Blogs
>
Dan's WebDAV 101
>
All Tags
>
system.web.mail
Tagged Content List
Blog Post:
Enumerating fields for CDOSYS, System.Web.Mail and System.Net.Mail
Webdav101
There are times when you may want to enumerate the fields set on a message while debugging issues with CDOSYS, System.Web.Mail, or System.Net.Mail. Below is sample code which will enumerate these fields. As you can see, there are some considerable differenences between how enumeration is done. CDOSYS...
on
14 Aug 2008
Blog Post:
Adding Inline Attachments with CDOSYS and System.Net.Mail.
Webdav101
In the following samples, I'm going to send an inline attachment using CDOSYS and System.Net.Mail (SNM). Lets say you have an html document with text above and below a jpg file and you want this document inside of a message you are going to send. Below is the the basic HTML document. Notice that img...
on
31 Jul 2008
Blog Post:
Example of setting headers with System.Web.Mail
Webdav101
//============================ Optional Settings ======================== if (this.Priority.Length != 0) { if (this.Priority == "Non Urgent") { oMsg.Priority = System.Web.Mail.MailPriority.Low; }; if (this.Priority == "Normal") { oMsg.Priority = System.Web.Mail.MailPriority.Normal; }; if (this.Priority...
on
16 Jul 2008
Blog Post:
Howto: CDOSYS/C# Sending an ICS file
Webdav101
Todo: 1) Open an appointment in Outlook. Save to file as an .ICS file. 2) Create a C# project and add the code below. 3) Do the TODO sections. 'TODO: Add a refernce to CDOSYS using System.IO; private void btnSendUsingIcs_Click(object sender, System.EventArgs e) { string sFrom = " me@mycompany.com...
on
5 May 2008
Blog Post:
Building VCALENDAR content without an Microsoft API is not supported by MS.
Webdav101
While Microsoft products follow many RFC guidelines for VCALENDAR/iCAL, it does not mean that they support development of VCALENDAR/iCAL directly. Microsoft has APIs which can build and read such content. Working with those APIs is supported; however working with VCALENDAR/iCAL text programmatically...
on
26 Feb 2008
Blog Post:
SmtpMail.SmtpServer.Insert(0, "mail.mycompany.com") causes 0x80040220 to be thrown.
Webdav101
Email was being sent using SmtpMail from System.Web.Mail. The code worked on the older 2000 server, however did not work when placed on the new 2003 server. When the email was sent, the code threw the following error: (0x80040220) The 'SendUsing' configuration value is invalid. This line was being...
on
1 Feb 2008
Blog Post:
HOWTO: Attatch .ics, .mht files with CDOSYS/System.Web.Mail
Webdav101
Note: By setting the ContentMediaType property of the attatchment body part object to "text/html", you should be able to properly attatch most any type of file. This includes .mht, .ics, etc. Example: // Attatch needed files. // TODO: Change this section or comment-out String sFile = @"C:\dev\mapi...
on
1 Feb 2008
Page 1 of 1 (7 items)