Export (0) Print
Expand All

Mailer Technology Sample

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This sample shows how to send email messages from a client application.

For information about using the samples, see the following topics:

To build the sample using the command prompt

  1. Open a Command Prompt window and navigate to one of the language-specific subdirectories under the Mailer directory. For information about required settings and the SDK Command Prompt, see How to: Set Sample Settings.

  2. Type msbuild Mailer.sln at the command line.

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to one of the language-specific subdirectories under the Mailer directory.

  2. Double-click the icon for the Mailer.sln to open the file in Visual Studio.

  3. On the Build menu, click Build Solution.

The application is built in the default \bin\Debug directory.

To run the sample

  1. Navigate to the directory that contains the new executable, using the Command Prompt.

  2. Type Mailer.exe at the command line.

    Note Note

    The sample builds a console application. You must launch and run it from a Command Prompt window to view its output.

Show:
© 2014 Microsoft