Yes, im doing this in watir. Instead of using mail gem, im using this method to retrive emails.
I dont want to install gem "mail". I need to know how to get values instead of these hash values. Bhavesh On Apr 24, 1:36 pm, Chuck van der Linden <[email protected]> wrote: > The mail gem has it's own google group, the link is in the readme look > here: https://github.com/mikel/mail/ > > That would be the better place to ask your question > > On Tuesday, April 24, 2012 1:32:00 PM UTC-7, Chuck van der Linden wrote: > > > > > > > > > > > I see no watir in your code below, why are you posting this question > > here? > > > On Tuesday, April 24, 2012 1:28:08 PM UTC-7, Bhavesh wrote: > > >> Hi, > > >> Im trying to access links inside an email. > > >> Im am not using Gem “mail”. > > >> Im doing very simple stuff here. > > >> Just getting unread email from the mailbox and then getting the links > >> present inside that email. > > >> When I try to get email bocdy, I get without error. > > >> But similarly when I try to get links present inside that email, it > >> shows Hash value instead of actual links. > > >> Code is : > > >> #Getting email body/Links of unread email > >> inbox = mapi.GetDefaultFolder(6) > >> inbox.Items.each do |message| > >> #puts message.body if message.Unread > >> puts message.Links if message.Unread > > >> What I have to change to get the actual links. > > >> Bhavesh -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
