Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Connecting to Exchange

Reply
Thread Tools

Connecting to Exchange

 
 
Aldric Giacomoni
Guest
Posts: n/a
 
      09-04-2009
Imap fails for me, Pop fails for me. I'm guessing it's because of
enabled security protocols.

Is there a good way out there in Rubyland to make IMAP/POP work with
enabled security?
Or should I try win32ole and MAPI ? Can win32ole be used under Linux?
I'm looking at the few MAPI posts that were done in this forum in the
past and playing with that for now, hoping to get something to work.
What's the MAPI username supposed to be? The Active Directory username?

Any other solutions to connect to an exchange server? All I need to do
is check/get/parse mail.

Thanks in advance.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
rilindo foster
Guest
Posts: n/a
 
      09-04-2009
You'll have to ask whoever administers Exchange to enable either IMAP
or POP on the account. Otherwise, you probably want to try to connect
via Webmail - which means a different set of ruby code if I am not
mistaken (likely net/http and/or uri).

On Fri, Sep 4, 2009 at 4:02 PM, Aldric Giacomoni<> wrote:
> Imap fails for me, Pop fails for me. I'm guessing it's because of
> enabled security protocols.
>
> Is there a good way out there in Rubyland to make IMAP/POP work with
> enabled security?
> Or should I try win32ole and MAPI ? Can win32ole be used under Linux?
> I'm looking at the few MAPI posts that were done in this forum in the
> past and playing with that for now, hoping to get something to work.
> What's the MAPI username supposed to be? The Active Directory username?
>
> Any other solutions to connect to an exchange server? All I need to do
> is check/get/parse mail.
>
> Thanks in advance.
> --
> Posted via http://www.ruby-forum.com/.
>
>




--
Rilindo Foster
AOL Instant Messenger: rilindo
Google Talk:
Web Site: http://www.monzell.com
Primary:
Secondary:
"Rich bachelors should be heavily taxed. It is not fair that some men
should be happier than others. -- Oscar Wilde

 
Reply With Quote
 
 
 
 
brabuhr@gmail.com
Guest
Posts: n/a
 
      09-04-2009
On Fri, Sep 4, 2009 at 4:02 PM, Aldric Giacomoni<> wrote:
> Imap fails for me, Pop fails for me. I'm guessing it's because of
> enabled security protocols.
>
> Is there a good way out there in Rubyland to make IMAP/POP work with
> enabled security?


Not likely without knowing more detail on why it is failing (have any
specific error codes from the client and server?) and if you can
successfully connect via IMAP from other programs.

> Any other solutions to connect to an exchange server? All I need to
> do is check/get/parse mail.


Depending on the version of Exchange and server configuration you may
be able to use the webdav or soap interfaces. I don't know of any
pre-rolled ruby libraries for those. Or, use one of the web scraping
libraries on OWA.

 
Reply With Quote
 
zenChild
Guest
Posts: n/a
 
      10-22-2009
On Sep 4, 3:20*pm, brab...@gmail.com wrote:
> On Fri, Sep 4, 2009 at 4:02 PM, Aldric Giacomoni<ald...@trevoke.net> wrote:
> > Imap fails for me, Pop fails for me. I'm guessing it's because of
> > enabled security protocols.

>
> > Is there a good way out there in Rubyland to make IMAP/POP work with
> > enabled security?

>
> Not likely without knowing more detail on why it is failing (have any
> specific error codes from the client and server?) and if you can
> successfully connect via IMAP from other programs.
>
> > Any other solutions to connect to anexchangeserver? All I need to
> > do is check/get/parse mail.

>
> Depending on the version ofExchangeand server configuration you may
> be able to use the webdav or soap interfaces. *I don't know of any
> pre-rolled ruby libraries for those. *Or, use one of the web scraping
> libraries on OWA.


It is still in the early stages of development, but I am writing a
client access library for MS Exchange that talks via Exchange Web
Services that may help you out. You can get the code from
http://github.com/zenchild/Viewpoint. Have a look at the README and
some of the scripts in the "test" and "examples" directories.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MCSE 2003 w/Exchange or MCITP 2008 w/Exchange Juan MCITP 3 06-19-2009 07:29 PM
Cannot send mail from Exchange 2007 mailbox to Exchange 2003 mailb =?Utf-8?B?am9zdWU=?= MCSE 3 08-15-2007 12:02 PM
Exchange Links < Western Cartoon Cards > Exchange Links www.westerncartooncards.ca HTML 2 07-12-2004 07:59 PM
Exchange 5.5 with Exchange 2000 Cluster problem Jose Luis Microsoft Certification 0 02-13-2004 10:23 AM
help: My exchange lost M: and exchange can not start winman MCSE 9 07-30-2003 04:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57