[Wtr-general] Outlook Access

Michael Ehrich meh at konomy.com
Thu Oct 12 07:22:41 EDT 2006


hi zeljjo,

 

thx for the help. that would be a solution and what about the contacts and
calender functions from outlook :-) 

is there a way to control outlook via watir ?

 

greetings

michael ehrich

 

  _____  

Von: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] Im Auftrag von Zeljko Filipin
Gesendet: Donnerstag, 12. Oktober 2006 13:17
An: wtr-general at rubyforge.org
Betreff: Re: [Wtr-general] Outlook Access

 

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/224173d1/attachment.html 


More information about the Wtr-general mailing list