Package email.loadnsave

Source Code of email.loadnsave.AsposeEmailSave

package email.loadnsave;

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

public class AsposeEmailSave
{
  public static void main(String[] args)
  {
    MailMessage messageMSG   = MailMessage.load("data/message.msg", MessageFormat.getMsg());
   
    messageMSG.save("data/AsposeMessage.msg", MessageFormat.getMsg());
    messageMSG.save("data/AsposeMessage.eml", MessageFormat.getEml());
    messageMSG.save("data/AsposeMessage.emlx", MessageFormat.getEmlx());
    messageMSG.save("data/AsposeMessage.mht", MessageFormat.getMht());
  }
}
TOP

Related Classes of email.loadnsave.AsposeEmailSave

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.