Reading Outlook Email Body Text
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2021
09:43 AM
01-29-2021
09:43 AM
Reading Outlook Email Body Text
Hi Team,
Can anyone of you please guide me how to retrieve the outlook's email body text without making use of COM (sys.OleObjetct()) object.
can you please share the snippet using CDO object.
Thanks
Solved! Go to Solution.
4 REPLIES 4
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021
01:48 AM
02-05-2021
01:48 AM
Thank you for your question.
Could you take a look?
@Marsha_R @ApplePen @anupamchampati
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2021
02:02 AM
02-18-2021
02:02 AM
Thanks for the answer
sonya.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021
07:04 AM
06-29-2021
07:04 AM
Please share the answer, I can't see it
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2021
08:51 PM
12-01-2021
08:51 PM
Hi @IvoryHoward -
Are you looking for a solution to pull the text out of an email?
If so - I would recommend using the object spy on the body of the email to see the object - one of the properties (probably the contentText) should hold this value. A set variable value could then be used to store the contents into a variable and use.
Relevant documentation:
https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/set-variable-va...
Let me know if you have further questions.
Emma
Are you looking for a solution to pull the text out of an email?
If so - I would recommend using the object spy on the body of the email to see the object - one of the properties (probably the contentText) should hold this value. A set variable value could then be used to store the contents into a variable and use.
Relevant documentation:
https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/set-variable-va...
Let me know if you have further questions.
Emma
