![]() ![]() f, -file Convert an individual file PATH to pdf. ![]() Inline images are included in the email pdf. The output is a folder for each email using the email subject as theįolder name including a pdf of the email and all attachments. Msg2pdf converts Outlook email messages (msg) to pdf. The command-line option msg2pdf will convert individual files or all *.msg files in a directory. Usage Module UsageĮxample module usage is provided in the tests/example.py file. Msgtopdf uses the wkhtmltopdf tool to convert the HTML message to PDF and wkhtmltopdf must be installed separately.Ĭurrently msgtopdf extracts the message body and attachments to a new subfolder using the subject of the email as the folder name. Unlike the majority of current modules msgtopdf maintains the formatting of HTML and RTF messages and embeds any inline images in the PDF output.Īs the module uses the win32com library the host machine must have Outlook installed. msg files to PDF and extract the attachments. Msgtopdf is a Python 3 module to convert Outlook. ![]()
0 Comments
Leave a Reply. |