Re: uploading a mail attachment using webdav

From: Henning Krause (newsgroup.no_at_spam.infinitec.de)
Date: 10/01/04

  • Next message: Darin Roulston [MSFT]: "Re: SMTP and CC"
    Date: Fri, 1 Oct 2004 08:27:55 +0200
    
    

    When I recall correctly, you have two options:

    1. Use the OWA style, which looks like this:

    <snip>
    POST http://myserver/public/myfolder/myitem.eml?Cmd=addattach
    Content-Type: multipart/form-data; boundary=AaB03x

    --AaB03x
    Content-Disposition: form-data; name="attachfile";
    filename="<attachmentfilename>"
    Content-Type: application/octet-stream

    <here comes the stream of the attachment
    AaB03x--
    </snip>

    2. Just do a PUT on the the URI
    http://myserver/public/myfolder/myitem.eml/attachmentname.ext

    Greetings,
    Henning Krause
    ==========================
    Visit my website: http://www.infinitec.de
    Try my free Exchange Explorer: Mistaya
    (http://www.infinitec.de/?page=products)

    "Ron Harter" <ron.harter@jpmobile.com> wrote in message
    news:#Qn0ZQzpEHA.3728@TK2MSFTNGP09.phx.gbl...
    > Does anyone have an example of or can point me to an example of how to
    > upload an attachment to an e-mail using WebDAV.
    >
    > Thanks
    >
    > --
    > Ron Harter
    > JP Mobile. Inc.
    > ron.harter@jpmobile.com
    >


  • Next message: Darin Roulston [MSFT]: "Re: SMTP and CC"