use Aspose\Email\ProgrammingEmail\GetEmailInfo; use Aspose\Email\ProgrammingEmail\ManageAttachments; use Aspose\Email\ProgrammingEmail\SaveMessageAsDraft; use Aspose\Email\ProgrammingEmail\UpdateEmail; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookMessageFiles\CreateOutlookContact; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookMessageFiles\CreateOutlookNote; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookMessageFiles\ParseOutlookMessageFile; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\AddFileToPST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\AddMapiCalendarToPST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\AddMapiContactToPST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\AddMapiJournalToPST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\AddMapiTaskToPST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\CreatePST; use Aspose\Email\ProgrammingOutlook\WorkingWithOutlookPersonalStorage\SearchMessagesAndFoldersInPST; print "Running Aspose\\Email\\ProgrammingEmail\\Converter::run()" . PHP_EOL; Converter::run(__DIR__ . '/data/ProgrammingEmail/Converter/'); print "Running Aspose\\Email\\ProgrammingEmail\\CreateNewEmail::run()" . PHP_EOL; CreateNewEmail::run(__DIR__ . '/data/ProgrammingEmail/CreateNewEmail/'); print "Running Aspose\\Email\\ProgrammingEmail\\GetEmailInfo::run()" . PHP_EOL; GetEmailInfo::run(__DIR__ . '/data/ProgrammingEmail/GetEmailInfo/'); print "Running Aspose\\Email\\ProgrammingEmail\\ManageAttachments::run()" . PHP_EOL; ManageAttachments::run(__DIR__ . '/data/ProgrammingEmail/ManageAttachments/'); print "Running Aspose\\Email\\ProgrammingEmail\\SaveMessageAsDraft::run()" . PHP_EOL; SaveMessageAsDraft::run(__DIR__ . '/data/ProgrammingEmail/SaveMessageAsDraft/'); print "Running Aspose\\Email\\ProgrammingEmail\\UpdateEmail::run()" . PHP_EOL; UpdateEmail::run(__DIR__ . '/data/ProgrammingEmail/UpdateEmail/'); print "Running Aspose\\Email\\ProgrammingOutlook\\WorkingWithOutlookMessageFiles\\CreateOutlookContact::run()" . PHP_EOL; CreateOutlookContact::run(__DIR__ . '/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookContact/'); print "Running Aspose\\Email\\ProgrammingOutlook\\WorkingWithOutlookMessageFiles\\CreateOutlookNote::run()" . PHP_EOL; CreateOutlookNote::run(__DIR__ . '/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/'); print "Running Aspose\\Email\\ProgrammingOutlook\\WorkingWithOutlookMessageFiles\\ParseOutlookMessageFile::run()" . PHP_EOL;
public static function run($dataDir = null) { # Loading EML, Saving to MSG Converter::convert_eml_to_msg($dataDir); }