Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to forward a recent mail from hotmail to gmail
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,

I want to forward the recent mail from hotmail account to gmail account.
so i need a descriptive program to automate this above said scenario. can anyone help me out please. Thanks

regards,
rao
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,

Open Hotmail using valid username and password and then try this below code..

Code:
Gmail_ID = "asdhasd@gmail.com"

Set oBrowserFrame = Browser("creationtime:=0").Page("title:=Windows Live Hotmail").Frame("html tag:=IFRAME","html id:=UIFrame")

Set WebTable1 = oBrowserFrame.WebTable("name:=msgChk","html tag:=TABLE")

WebTable1.Object.Rows(0).Click ' Clicks the First row in the table assuming that first row is the most recent mail
wait 5
oBrowserFrame.WebElement("innertext:=Forward","html tag:=SPAN").WaitProperty "visible","True",5000
oBrowserFrame.WebElement("innertext:=Forward","html tag:=SPAN").Click
wait 2
Browser("creationtime:=0").Sync
Browser("creationtime:=0").Page("title:=Windows Live Hotmail").Sync
Set oBrowserFrame = Browser("creationtime:=0").Page("title:=Windows Live Hotmail").Frame("html tag:=IFRAME","html id:=UIFrame")
oBrowserFrame.WebEdit("html id:=AutoCompleteTo\$InputBox").set Gmail_ID
oBrowserFrame.WebElement("innertext:=Send","html tag:=SPAN").Click
wait 3
Browser("creationtime:=0").Sync
Browser("creationtime:=0").Page("title:=Windows Live Hotmail").Sync
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi KVK,
Thank you very much for your reply. It helped...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  GMAIL Object Identification sidqtp 2 3,392 11-08-2014, 10:12 AM
Last Post: vinod123
Rolleyes Urgent help with Gmail Sending mail feature nidhitaneja 2 2,730 03-05-2014, 09:39 PM
Last Post: nidhitaneja
  How To pick up the particular mail in Post Login Gmail page and click on Checkbox akhandesh 0 2,692 12-02-2013, 01:35 PM
Last Post: akhandesh
  Query for configuration of Mail Body section through VB/QTP prasanna.rathinam 1 2,852 09-19-2013, 12:03 PM
Last Post: ssvali
  Object doesn't support this property or method: 'mail.unread Line(2929):"". kotaramamohana 0 2,286 09-28-2011, 06:19 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 1 Guest(s)