You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Mark Breitner <ma...@gmx.de> on 2005/04/08 16:49:59 UTC

sending emails using exchange and slide ?

Hi,

does anyone of you know how to send emails with slide ?

I`ve read, I have to look for the Exchange mail submission URI. I think I
found it but now i don´t know how to use this URI to send emails.

Who can help me out ?

bye,

Mark B.

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Mark Breitner <ma...@gmx.de>.
Hi I´ve finally managed to send emails using slide.

First you have to create an item.
Then put all the right properties on it.

At last move (!) the item to the exchange mail submission URI. It then gets
send by the exchange system. You get the mail submission URI by quering for 
the sendmsg property of your exchange system.


> Have you managed to resources and change properties of exchange items? At
> least I managed to do this, but I never tried to send an email using
> webdav.
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Martin Kalén <mk...@apache.org>.
Mark Breitner wrote:
> because I just don´t get it working :
> 
> has anyone here been able to send an email via microsoft exchange by using
> slide ?????

I think it's easier for you to do things the other way around:
1) learn Microsoft Exchange specifications for submitting the mail via WebDAV
2) see how you can use the Slide WebDAV client lib to do this

If you don't know exactly what #1 is all about you will have a really
hard time working out #2...

Cheers,
  Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Mark Breitner <ma...@gmx.de>.
because I just don´t get it working :

has anyone here been able to send an email via microsoft exchange by using
slide ?????


Bye, and thanks for you help


mark B.

-- 
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Martin Kalén <mk...@apache.org>.
Martin Kalén wrote:
> Then the Slide WebDAV-client library should be able to help you.

P.S. The JAR files you need for using the client lib only are:
  commons-httpclient
  jdom
  jakarta-slide-webdavlib

  Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Martin Kalén <mk...@apache.org>.
Mark Breitner wrote:
> I think you misunderstood me.

Yes, after reading your explanaition I see that I did.

> It´s not about sending emails by webdav, it´s about connecting by webdav to
> exchange and then sending an email.

Then the Slide WebDAV-client library should be able to help you.

JavaDoc for the API is available here:
  http://jakarta.apache.org/slide/clientjavadoc/index.html

Getting-started hint from the list archives:
  http://mail-archives.eu.apache.org/mod_mbox/jakarta-slide-user/200210.mbox/%3C3DAD7617.30279.171A595@localhost%3E

Code-snippet to get an idea of where to start
(extracts content from a WebDAV resource, meta-code - not complete):

  HttpURL url = new HttpURL(remoteUrl);
  InputStream result = null;
  InputStream webdavStream = null;
  try {
   Credentials cred = null;
   if (user != null) {
    cred = new UsernamePasswordCredentials(user, password);
   }
   WebdavResource remoteResource = new WebdavResource(url, cred, WebdavResource.NOACTION, DepthSupport.DEPTH_0);
   webdavStream = remoteResource.getMethodData();
   if (webdavStream != null) {
    result = new BufferedInputStream(webdavStream, HTTP_CHUNK_SIZE);
   }
  } catch (HttpException httpe) {
   // handle HttpException
  } catch (IOException ioe) {
   // handle IOException
  } finally {
   if (result == null && webdavStream != null) {
   try {
    webdavStream.close();
   } catch (IOException e) {
    // handle IOException
   }
  }
  // TODO: check API if removeResource.close() kills result stream,
  //       if not it should probably be called here

> I know I have to extract some kind of mail submission URI (typical
> complicated ms stuff ;) ) to use to send the email.

This sound MS Exchange specific...

> And I think I got this URi ... but I don´t know how to use it to send
> emails.

OK, then try to connect to the URI with the Slide WebDAV client.

The exact WebDAV-methods used to send the mails is also Exchange-specific
and you will have to try Microsoft resources for more info on that.

Regards,
  Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by tsimpson <ts...@empresasolutions.com>.
its okay.  i figured it out anyway


Vic Smith wrote:

>This was a mistake. Sorry...
>
>Vic Smith
>Empresa Solutions
>vsmith@empresasolutions.com
>
>-----Original Message-----
>From: Vic Smith [mailto:vsmith@empresasolutions.com] 
>Sent: Monday, April 11, 2005 11:06 AM
>To: 'Slide Users Mailing List'
>Subject: RE: sending emails using exchange and slide ?
>
>Ok, I doubted that you could find the time.
>We'll perform the review as scheduled.
>
>Vic Smith
>Empresa Solutions
>vsmith@empresasolutions.com
>
>-----Original Message-----
>From: Mark Breitner [mailto:mark.breitner@gmx.de] 
>Sent: Saturday, April 09, 2005 9:47 AM
>To: Slide Users Mailing List
>Subject: Re: sending emails using exchange and slide ?
>
>HI :)
>
>I think you misunderstood me.
>
>It´s not about sending emails by webdav, it´s about connecting by webdav to
>exchange and then sending an email.
>
>I know it is possible by using Visual Basic. But I didn´t manage to get it
>working by using slide.
>
>I know I have to extract some kind of mail submission URI (typical
>complicated ms stuff ;) ) to use to send the email.
>
>And I think I got this URi ... but I don´t know how to use it to send
>emails.
>
>Thanks for your answer :)
>
>Mark
>
>
>
>  
>
>>Mark Breitner wrote:
>>    
>>
>>>does anyone of you know how to send emails with slide ?
>>>      
>>>
>>Hmm... Slide is a repository kernel and WebDAV client/server library [*],
>>so I think your chances are slim to actually send e-mails with Slide. :-)
>>
>>You probably want to go here:
>>http://java.sun.com/products/javamail/
>>
>>Regards,
>>  Martin
>>
>>[*] For the full "what is Slide?" see homepage
>>http://jakarta.apache.org/slide/,
>>section "Overview".
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>    
>>
>
>  
>

RE: sending emails using exchange and slide ?

Posted by Vic Smith <vs...@empresasolutions.com>.
This was a mistake. Sorry...

Vic Smith
Empresa Solutions
vsmith@empresasolutions.com

-----Original Message-----
From: Vic Smith [mailto:vsmith@empresasolutions.com] 
Sent: Monday, April 11, 2005 11:06 AM
To: 'Slide Users Mailing List'
Subject: RE: sending emails using exchange and slide ?

Ok, I doubted that you could find the time.
We'll perform the review as scheduled.

Vic Smith
Empresa Solutions
vsmith@empresasolutions.com

-----Original Message-----
From: Mark Breitner [mailto:mark.breitner@gmx.de] 
Sent: Saturday, April 09, 2005 9:47 AM
To: Slide Users Mailing List
Subject: Re: sending emails using exchange and slide ?

HI :)

I think you misunderstood me.

It´s not about sending emails by webdav, it´s about connecting by webdav to
exchange and then sending an email.

I know it is possible by using Visual Basic. But I didn´t manage to get it
working by using slide.

I know I have to extract some kind of mail submission URI (typical
complicated ms stuff ;) ) to use to send the email.

And I think I got this URi ... but I don´t know how to use it to send
emails.

Thanks for your answer :)

Mark



> Mark Breitner wrote:
> > does anyone of you know how to send emails with slide ?
> 
> Hmm... Slide is a repository kernel and WebDAV client/server library [*],
> so I think your chances are slim to actually send e-mails with Slide. :-)
> 
> You probably want to go here:
> http://java.sun.com/products/javamail/
> 
> Regards,
>   Martin
> 
> [*] For the full "what is Slide?" see homepage
> http://jakarta.apache.org/slide/,
> section "Overview".
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: sending emails using exchange and slide ?

Posted by Vic Smith <vs...@empresasolutions.com>.
Ok, I doubted that you could find the time.
We'll perform the review as scheduled.

Vic Smith
Empresa Solutions
vsmith@empresasolutions.com

-----Original Message-----
From: Mark Breitner [mailto:mark.breitner@gmx.de] 
Sent: Saturday, April 09, 2005 9:47 AM
To: Slide Users Mailing List
Subject: Re: sending emails using exchange and slide ?

HI :)

I think you misunderstood me.

It´s not about sending emails by webdav, it´s about connecting by webdav to
exchange and then sending an email.

I know it is possible by using Visual Basic. But I didn´t manage to get it
working by using slide.

I know I have to extract some kind of mail submission URI (typical
complicated ms stuff ;) ) to use to send the email.

And I think I got this URi ... but I don´t know how to use it to send
emails.

Thanks for your answer :)

Mark



> Mark Breitner wrote:
> > does anyone of you know how to send emails with slide ?
> 
> Hmm... Slide is a repository kernel and WebDAV client/server library [*],
> so I think your chances are slim to actually send e-mails with Slide. :-)
> 
> You probably want to go here:
> http://java.sun.com/products/javamail/
> 
> Regards,
>   Martin
> 
> [*] For the full "what is Slide?" see homepage
> http://jakarta.apache.org/slide/,
> section "Overview".
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Mark Breitner <ma...@gmx.de>.
HI :)

I think you misunderstood me.

It´s not about sending emails by webdav, it´s about connecting by webdav to
exchange and then sending an email.

I know it is possible by using Visual Basic. But I didn´t manage to get it
working by using slide.

I know I have to extract some kind of mail submission URI (typical
complicated ms stuff ;) ) to use to send the email.

And I think I got this URi ... but I don´t know how to use it to send
emails.

Thanks for your answer :)

Mark



> Mark Breitner wrote:
> > does anyone of you know how to send emails with slide ?
> 
> Hmm... Slide is a repository kernel and WebDAV client/server library [*],
> so I think your chances are slim to actually send e-mails with Slide. :-)
> 
> You probably want to go here:
> http://java.sun.com/products/javamail/
> 
> Regards,
>   Martin
> 
> [*] For the full "what is Slide?" see homepage
> http://jakarta.apache.org/slide/,
> section "Overview".
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: sending emails using exchange and slide ?

Posted by Martin Kalén <mk...@apache.org>.
Mark Breitner wrote:
> does anyone of you know how to send emails with slide ?

Hmm... Slide is a repository kernel and WebDAV client/server library [*],
so I think your chances are slim to actually send e-mails with Slide. :-)

You probably want to go here:
http://java.sun.com/products/javamail/

Regards,
  Martin

[*] For the full "what is Slide?" see homepage http://jakarta.apache.org/slide/,
section "Overview".

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org