How to send emailable-report.html through mail after test case execution completed

I am trying to send emailable-report.html after my test execution is completed, but I am unable to get any reports…

When I run individual class file for receiving email able report It will work, but when I run in test suit I am unable to get…can any one please help me

please find the below email sent code

public static void main(String[] args) {

	  final String username = "[email protected]";
	  final String password = "sdfsdfsfs";

	  Properties props = new Properties();
	  props.put("mail.smtp.auth", "true");
	  props.put("mail.smtp.starttls.enable", "true");
	  props.put("", "");
	  props.put("mail.smtp.port", "587");

	  Session session = Session.getInstance(props,
	    new javax.mail.Authenticator() {
	      protected PasswordAuthentication getPasswordAuthentication() {
	          return new PasswordAuthentication(username, password);

	  try {

	      Message message = new MimeMessage(session);
	      message.setFrom(new InternetAddress("[email protected]"));
	          InternetAddress.parse("[email protected]"));
	      message.setSubject("Testing Subject");
	      message.setText("Dear Mail Crawler,"
	          + "\n\n No spam to my email, please!");

	      MimeBodyPart messageBodyPart2 = new MimeBodyPart();  

	      String filename = "/Users/nandini/Documents/workspace/ios app/test-output/emailable-report.html";
	      DataSource source = new FileDataSource(filename);  
	      messageBodyPart2.setDataHandler(new DataHandler(source));  

	      Multipart multipart = new MimeMultipart();  

	       message.setContent(multipart );  



	  } catch (MessagingException e) {
	      throw new RuntimeException(e);


below are the test suite

<test name="PDFbooks"   >
        <class name="iosapp.PDFbooks" />
 <test name="EmailSent"   >
       <class name="iosapp.EmailSent" ></class>