How do i send an automatic mail after the execution of suite in selenium -


for project email should sent automatically results attained after execution of suite in selenium. can me this?

hi answer question depends on perspective

1.if running in continuous integration jenkins please configure jenkins send mail sender automatically once job done.

2.if using testng or junit can configure mailer in

@aftertest public void sendmail(){  // code send mail e.g gmail. } 

hope helps you.