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
>
attachment
Tagged Content List
Blog Post:
Inline attachments used with EWS and Text, HTML, MHTML or MIME
Webdav101
Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME). Images which are directly with HTML content are not supported...
on
28 Feb 2012
Blog Post:
Sample: How to get the number of file attachments with EWS.
Webdav101
Since HasAttachments does not really give you the number of file attachments, we you will find that you need to work around it. You can use code like that below to get the real count of file attachments on an item. // ----------------------------------------------------------------------------...
on
9 Jan 2009
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:
Howto Delete Attachments with WebDAV
Webdav101
The DELETE verb only works on Exchange 2003 SP1 - it will not work on any earlier version/service pack. CDOEX, CDO 1.21, Extended MAPI, etc can do this on Exchange 2000 or 2003. One possible work-around is to read the message stream using a WebDAV GET, modify the stream to remove the attachment...
on
12 Mar 2008
Blog Post:
HOWTO: Send Email With Attachment Using VB and WebDAV
Webdav101
To send an email with WebDAV, you will you will need to create/recreate the item with a WEBDAV PUT using the MIME of the message. It gets tricky when working with attachments. To get around the complexity of sending an email with an attachment, you may want to look at using CDOSYS to build the message...
on
12 Mar 2008
Blog Post:
Howto: WebDAV SEARCH using C#
Webdav101
' This example shows how to do a SEARCH using C# // C# Example to SEARCH a mailbox. // TODO: // Add a button and double click on it // Add a multi-line text box and make it big. // Add a project reference to System.Xml, an System.Net // Paste-in the code below // Do the TODO sections in the code....
on
12 Mar 2008
Blog Post:
Howto: WebDAV PROPFIND using VB.NET
Webdav101
' This example shows how to do a PROPFIND using VB.NET ‘ VB.NET PROPFIND ‘ TODO: Create a VB.NET winform with a button and a big multiline text box ‘ TODO: Add references to System.Web, System.XML and System.IO ‘ TODO: Add the code to the form. ‘ TODO: Do the TODO sections in the code. Imports...
on
12 Mar 2008
Blog Post:
Howto: WebDAV X-MS-ENUMATTS using VBScript to enumerate attachments
Webdav101
' This example shows how to enumerate attachments on a message. X-MS-ENUMATTS will ' return phantom urls to attachments on the message. These URLs can be used with GET ' and DELETE (starting with Exchange 2003 SP1). ' For listing and reading an attachment, you will first need to get a list of attachments...
on
12 Mar 2008
Blog Post:
HOWTO: VB/CDO 1.21 - Delete inbox message attachments over certain size
Webdav101
Here is an example: 'How to read the Inbox messages and delete attachments over a given size using VB and CDO 1.21 ' This example deletes all jpg file attachments over a certain size in an inbox. Const CONST_MAX_JPG_ATTACHMENT = 3000 ' TODO: Change this - max jpg file size Dim sErrorMessage As String...
on
29 Nov 2007
Blog Post:
HOWTO: CDONTS/VBS Send an Email with an attachment
Webdav101
Here is a sample for sending mail using CDONTS... Please note that CDONTS is not supported on Windows 2003 and later: ' HOWTO: CDONTS/VBS Send and Eamil with an attatchment ' ' For more information on sending an email using CDONTS see: ' NewMail Object (CDONTS Library) ' http://msdn.microsoft.com...
on
29 Nov 2007
Page 1 of 1 (10 items)