Windows Dev Center

How to Print .Eml File


  • Hi.. friends


        I am in Need of printing .eml file if any one know's kindly let me know...


    My code is here...


    here i am using QVP for printing , it's working file but some html tags are inserted message is not properly Shown


    System.Diagnostics.ProcessStartInfo PInfo = new System.Diagnostics.ProcessStartInfo();

    PInfo.FileName = "C:\\Program Files\\Quick View Plus\\Program\\qvp32.exe";//_ApplicationSourcePath;

    PInfo.Arguments = " \"" + txtInputFileName.Text + "\" -sprn -p -m -i -d -dt -dl -dp -dc -ds -dz -db -da -dn -x ";

    PInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;

    PInfo.CreateNoWindow = false;

    System.Diagnostics.Process proc = System.Diagnostics.Process.Start(PInfo);




    here Windows Live mail application is opening but ,print process is not working  



    // Print using Live mail

    Process pre = new Process();

    pre.StartInfo.FileName = "msimn.exe";

    pre.StartInfo.Arguments = " /p " + "\"" + Path.GetFileName(txtInputFileName.Text) + "\"";

    pre.StartInfo.CreateNoWindow = true;


    // Print using Live mail



    if any one know's me


    Monday, May 19, 2008 12:30 PM


All replies