Package com.isfasiel.util.smtp

Examples of com.isfasiel.util.smtp.EmailDelivery


    TestUtil util2 = new TestUtil();
    TestUtil util3 = new TestUtil();
    util2.print();
    util.print();
   
    EmailDelivery ed = new EmailDelivery();
    try {
      ed.setSMTPHost("smtp.gmail.com", 587, "isfasiel", "bs19ms");
      //ed.setSMTPHost("smtp.gmail.com", 587, "isfasiel", "bs19ms", true);
     
      ed.setTo("happypgh@gmail.com");
      //ed.setFrom("isfasiel@gmail.com", "Bae Byeongseon");
      ed.setSubject("���̤���;�ַ�");
      ed.setBody("Test message body.�ѱ��� �����ε� �ѱ��� �� ����?");
      //ed.addFileAttachment("C:\\Users\\Ted\\Desktop\\googleMapUtil.txt");
      //ed.setSMTPHost("smtp.gmail.com", 587, "isfasiel", "bs19ms");
      ed.sendMsg();
    } catch (Exception e) {
      e.printStackTrace();
    }
   
    return "";
View Full Code Here

TOP

Related Classes of com.isfasiel.util.smtp.EmailDelivery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.