I am not getting exact code for the same, please help me the solution and steps to do this. Thanks in advance.
Asked
Active
Viewed 166 times
-1
-
Hi and welcome to StackOverflow. Please refer to https://stackoverflow.com/help/how-to-ask on how to ask a proper question and improve yours according the guidelines. Also see https://meta.stackoverflow.com/questions/261592/how-much-research-effort-is-expected-of-stack-overflow-users. Thanks. – Fabian S. Oct 26 '17 at 06:24
1 Answers
0
Send email using JavaMail API with log4j log and TestNG report as attachment. I am using same way to share automation report via email. Please refer: How can I send an email by Java application using GMail, Yahoo, or Hotmail?
and for attachment: Sending mail attachment using Java

Kuldeep Kamune
- 169
- 2
- 10
-
If above solution help you, please accept it as answer. So that it can be useful for other too. – Kuldeep Kamune Oct 26 '17 at 12:55