Package email.loadnsave

Source Code of email.loadnsave.AsposeLoadEmailMsg

package email.loadnsave;

import com.aspose.email.MailMessage;
import com.aspose.email.MessageFormat;

public class AsposeLoadEmailMsg
{
  public static void main(String[] args)
  {
    //Create MailMessage instance by loading an Eml/Msg/Emlx/Mht file
    MailMessage messageMSG   = MailMessage.load("data/message.msg", MessageFormat.getMsg());
    MailMessage messageEML   = MailMessage.load("data/message.eml", MessageFormat.getEml());
    MailMessage messageEMLX = MailMessage.load("data/message.emlx", MessageFormat.getEmlx());
    MailMessage messageMHT   = MailMessage.load("data/message.mht", MessageFormat.getMht());
  }
}
TOP

Related Classes of email.loadnsave.AsposeLoadEmailMsg

TOP
Copyright © 2018 www.massapi.com. 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.