[Wtr-general] Outlook Access

Zeljko Filipin zeljko.filipin at gmail.com
Thu Oct 12 07:17:11 EDT 2006


On 10/12/06, Michael Ehrich <meh at konomy.com> wrote:
>
> no. i mean something like this. my application has sent an email to
> outlook.
> i want watir to open outlook, open the mail and get the mail data like
> from
> text and so on.


Hi Michael,

You do not have to open Outlook to see your mail. You can read you e-mail
from ruby. This is from my previous post at this list.

- receive e-mail - Net::POP3
(http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/<http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html>
index.html <http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html>)
- send e-mail - Net::SMTP (
http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html)
- create (before sending) and parse e-mail (from file, after receiving) -
TMail ( http://i.loveruby.net/en/projects/tmail/)

Net::POP3  and Net::SMTP are included in Ruby, TMail needs installation. I
had a problem with TMail installation, and I contacted author. He
recommended this procedure, and now it works.

ruby setup.rb config --without-ext
ruby setup.rb setup
ruby setup.rb install

If anything is unclear, let me know.

Zeljko
-- 
http://zeljkofilipin.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061012/e9797a7f/attachment.html 


More information about the Wtr-general mailing list