Hi everyone,
I need to convert .eml file or .msg file, where I got few files with these extension in which I need to convert these files to .pdf and open them.
Can anyone help me out to resolve this problem.
Thanks in advance,
@Murli_Manohar
Hi everyone,
I need to convert .eml file or .msg file, where I got few files with these extension in which I need to convert these files to .pdf and open them.
Can anyone help me out to resolve this problem.
Thanks in advance,
@Murli_Manohar
You could open the .eml and .msg files in outlook and then print them to PDF.
Also have alook on Marketplace:
Hi @T0Bi ,
I have already tried that method like it becomes desktop automation, which I don’t want to happen. I want the operation to happen in backend.
Hi @Murli_Manohar ,
If you want to avoid desktop automation, you can try vb scripting to convert the formats from .msg to .pdf.
Something like this:
Dim psi As New ProcessStartInfo
PrintPDF.UseShellExecute = True
PrintPDF.Verb = “print”
PrintPDF.WindowStyle = ProcessWindowStyle.Hidden
PrintPDF.FileName = sFullFileName
Process.Start(psi)
Hope this helps.
Thanks,
Abhilash.
T0Bi’s response is right.
If you want it to be done in the background (not involving installations etc…) I would suggest you look at utilising 3rd party tools and a custom activity (such as aspose).
It won’t be as straight forward but converting a file type from one to another is not simple and so not using the GUI requires a more advanced solution.
Attracted too much spam.