How to send a mail with the local installed mail client

Posted on 2006-04-29
Last Modified: 2010-04-17

i create a V# .Net 2 programm and will give my users the possibility to send a mail over the local installed mail client.
The mail must contain an attachment.
I think, i can use the SmtpClient class.
How can i do this?

Question by:ehornburg
    LVL 69

    Accepted Solution

    Hi ehornburg,

    >>to send a mail over the local installed mail client.
    >>The mail must contain an attachment

    You cannot use the local installed mail client when attachments are required. For example, OExpress cannot be used this way. Outlook can but with a warning to the user.

    You better use the builtin classes of .Net:

    LVL 1

    Assisted Solution

    Maybe you can try via CDO objects

    Pierre-Olivier BLU-MOCAER

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    commonTwo  challenge 63 72
    allStar challenge 1 27
    stringclean challenge 26 43
    pairs challenge 5 33
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now