Just throwing this out there. Has anyone ever trie...
# cfml-general
b
Just throwing this out there. Has anyone ever tried to convert outlook msg files to PDFs using native CF? I realize there may be a solution that involves add on java libraries though. I haven't had much luck in my research and even co-pilot doubts it. Any help would be well...helpful.
j
Can you convert the msg files to text? Can you upload them to a server and then have CF pull it down from there? Once you get the data, making it into a PDF is super easy (barely an inconvenience).
👍🏾 1
Heck, you may have to just go and load the files into outlook, then export to PDF (use the PDF printer) and leave CF out of it. If this is something that is generating new email, then use cfpop to check the email account and get the email and convert that to PDF right off the server.
If the client is only sending you MSG files and doesn't want to give you access to the email account (or forward it to an email account you can get access to), then get a new client.
b
It's a user-initiated drag from outlook and drop upload in CF. The issue is that it saves as native outlook and therefore only outlook can display it.
j
So yeah. Option 2 sounds like your best bet.
Oh... It's something where people can drag and drop it onto your page and it magically reads it?
That's... That's crazy. What do they want it to do with the file after that?
If you can't convince them to just let you grab it from the server directly... and they can't be allowed to convert it to PDF on their side first...
hands you a bottle of your favorite booze
God speed.
🙌 1