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
Champion Level 3

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

kaiiii
Regular Contributor

@Marsha_R yes buddy

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: