Adding a project reference

Top  Previous  Next

Follow these steps to add the Email Factory for .NET component to your Visual Studio .NET project.

 

1. Create a new project, or open an existing project, to which you want to add Email Factory for .NET.

 

2. From the Solution Explorer, right-click the References node and select Add Reference.

 

 

The Add Reference dialog box is displayed.

 

 

3. From the .NET tab, scroll down to locate Email Factory for .NET.

 

4. Select Email Factory for .NET and click Select.

 

Note

 

You may also double-click Email Factory for .NET to select it.

 

 

5. Click OK to add the reference to your project.

 

The Email Factory for .NET reference is now listed in your project references.

 

 

6. You can now create MIME, SMTP, POP, IMAP, SMTP-SSL, POP-SSL and IMAP-SSL instances. For example,

 

[C#]

using Jscape.Email;

 

// Create SMTP instance

Smtp smtp = new Smtp("mySmtp.server.com", "username", "password");

 

 

[Visual Basic]

Imports Jscape.Email

 

Private WithEvents mySmtp As Smtp

' Create SMTP instance

mySmtp = New Smtp("mySmtp.server.com", "username", "password")

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC