How can we help?

Using Auron Email Component in C# .Net

Add a reference to the Email Component object using the Visual C# Solution Explorer:

  • Start the Solution Explorer view, go to the project’s ‘References’ container
  • Choose ‘Add Reference’ from the context menu
  • Select the COM tab, choose the ‘Auron Email Component’ component

The following code shows how to declare, create and use one of the Email Component objects:

using AxEmail;

AxEmail.Smtp objSmtp;                                      // Declaration
objSmtp = new AxEmail.Smtp();                              // Creation

// Display version information
Console.WriteLine("Auron Email Component {0}\n", objSmtp.Version);