Convert msg file to Text file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-10-19 10:30 AM
Dim OL As Object
Set OL = CreateObject("Outlook.Application")
Dim Msg
Set Msg = OL.CreateItemFromTemplate("C:\Temp\RE MT399 - URO979368CC.msg")
Msg.SaveAs "C:\Temp\test.txt", olTXT
------------------------------
Ashis Kumar Ray
RPA Developer
TCS
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-19 08:28 AM
Regards,
Pratyush
------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-19 11:52 AM
I have checked the object "MS Outlook VBO" where I didn't find any action called "Get Received Items". Are you using anything different VBO? Could you please share the VBO with me? Also we don't prefer using MS Outlook VBO to communicate Outlook because a Outlook security warning pop up always appears on the screen while using any action of this object. Also neither we have access to disable the Trust centre option nor IT infrastructure team are interested to do.
Please let me know your comments on this.
Thanks
Ashis
------------------------------
Ashis Kumar Ray
RPA Developer
TCS
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-19 12:44 PM
Check if this is working for you.
Regards,
Pratyush
------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-19 12:50 PM
------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-19 04:14 PM
While using this object I am getting same Outlook pop up warning message on the screen where we have to click allow button to proceed further. Do you use anything to avoid the warning pop up?
Also my requirement is to read the email from a normal shared drive folder not from Outlook folder under inbox so in this case how we can use the action "Get Received Items" as I didn't get anything out of this. Do you have any example for this?
------------------------------
Ashis Kumar Ray
RPA Developer
TCS
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-11-19 08:58 AM
Easier alternative is to keep the emails in Outlook and read them directly from there. I am assuming someone is saving these emails in a local folder. If they can instead move these emails to a sub-folder within the Outlook Inbox, then you can use Get Received Items to retrieve the emails from this sub-folder.
Can you send a screenshot of the Outlook pop-up warning?
------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-11-19 01:41 PM
We can't disable or enable anything from Outlook as we don't have access and IT team is not interested to give us the access.
Please let me know how we can avoid this by writing any code stage.
Thanks
Ashis
------------------------------
Ashis Kumar Ray
RPA Developer
TCS
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-11-19 02:33 PM
Outlook has a default option that prevents third party scripts from accessing it when the antivirus is disable or needs to be updated.
The best work arround to avoid this from happening again is to go to File >> Options >> Confiabilty Central >> Programming access (My outlook is in portuguese, so it might be a bit different for you). On this window select the Never notify option.
See the attached printscreen for some visual help.
Hope it helps!
Cheers
------------------------------
Diogo Furlan
Analyst
Grupo NC
America/Sao_Paulo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-11-19 05:24 PM
But the issue is, we don't have access to enable that option. I have already checked this option in Google and in blue prism portal as well.
Also IT Infra team won't do as this is beyond company policy. Only option is to through Macro.
Regards
Ashis
------------------------------
Ashis Kumar Ray
RPA Developer
TCS
Europe/London
------------------------------
