Skip to content

Opening drive like GMail Drive through c# windows application..

Basu Biswas

Asked Apr 2, 2007, 1:42 AM EDT2 answers
Share
LinkedInX

How can I open a Network drive like GMail drive installed in my system through

C# windows application.

tnx...

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi Basu,

    Here is sample code for sending eMails using C#, may it help you -

    //create the mail message
    MailMessage mail = new MailMessage();

    //set the addresses
    mail.From = new MailAddress("[email protected]");
    mail.To.Add("[email protected]");

    //set the content
    mail.Subject = "This is an email";
    mail.Body = "this is a sample body";

    //send the message
    SmtpClient smtp = new SmtpClient("127.0.0.1");
    smtp.Send(mail);

    Best Regard,
    Bobby
    0
  • 0

    Tnx 4 reply...actaully u did'nt get me....Actually i want to open a drive ....say like C drive or D drive of the local system from my code....
     I think the drive like Gmail Drive does not fall under the category of logical drives like C or D ....

    so having sum probs...anyway tnx 4 giving ur time....

    regards

    0