text: # To change this license header, choose License Headers in Project Properties.
  # To change this template file, choose Tools | Templates
  # and open the template in the editor.
  
  #if __name__ == "__main__":
  #    print "Hello World"
  
  from ProgrammingEmail import SaveMessageAsDraft
  import jpype
  import os.path
  
  asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/")
  dataDir = os.path.join(os.path.abspath("./"), "data/")
  
  print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath
  
  #print dataDir
  jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath)
  
  hw = SaveMessageAsDraft(dataDir)
  hw.main()