Ask a Question

send multiple data in auto emaill text body

SOLVED
kaiiii
Regular Contributor

send multiple data in auto emaill text body

Hi 

I'm working on auto mail function to send test result reports automatically when all testItems execute.

And it's working fine. but now challenge is to send muliple messages as textbody in mail. 

like

mMessage.textbody = .....here I need to send data that comes from different-2 functions also I have to writedown here basic mail communication message......

i tried to do this by mMessage.textbody = "hi....anything."+ value1 + value2 + value 3 +value 4

but this values are not displaying in that mail also mail message is not proper.

**************************************************************************************************

Once again, I'm getting data from a function that provide me data of testitems execution result whats is executed, pass, fail, starttime, endtime, RunTime

an now I need to send this data in sendmail function(in mMessage.textbody) where I have also send basic communication message.
how can i handle this? please guide me.

 

4 REPLIES 4
Marsha_R
Community Hero

Are you saying that you want to send multiple logs in one email?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
kaiiii
Regular Contributor

@Marsha_R yes buddy

This may be helpful

https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/sending-via-email/abou...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
sonya_m
SmartBear Alumni (Retired)

Thank you for providing the link, Marsha!

 

Hi@kaiiii! Did you find what you were looking for?


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: