Skip to content

williamesharp/Aspose_Email_NET

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Aspose.Email for .NET Examples Repository

Aspose.Email for .NET is a collection of components for working with email from within ASP.NET web applications, web services or Windows applications. It makes it easy to work with Outlook PST, EML, MSG and MHT files.

Aspose.Email makes it easy to work with HTML or plain text emails and their attachments. It allows developers to work against SMTP, POP, IMAP and Microsoft Exchange servers. It supports mail merge and iCalendar features, customized header and body, retrieving content, header information and embedded files and much more.

These example projects provide helpful demonstrations and code when using Aspose.Email for .NET .

Aspose.Email for .NET at a Glance

Aspose.Email Overview

##Open Source Feel of Aspose.Email

Aspose.Email for .NET and Aspose.Email for Java are successful commercial products, but our philosophy is to develop them using our unique "open-source feel" approach. In other words, we at Aspose are extremely customer driven and this shows in:

  • Frequent releases (at least once a month).
  • Features are prioritized according to your requests.
  • Unlimited free technical support for anyone.
  • Helpful support in the forums and answers within 12-24 hours.
  • Live chat with experienced technical advisers.

We think that customers who use our products feel that they use an open source product because of the extent they can influence the project, but with the security of a fully committed talented team working on the project.

The Aspose.Email for .NET examples published here at GitHub is a part of the above effort.

##What's included in this examples repository?

###Code

This package contains C# and VB.NET Example Projects for Aspose.Email for .NET.

Exchange Server (WebDev)Description
Connect to Exchange ServerThis example demonstrates the ability of Aspose.Email for .NET to connect with Microsoft Exchange Server.
List Messages from Exchange ServerThis example list messages from Microsoft Exchange Server's Inbox folder.
Retrieve Messages from Exchange ServerThis example retrieve messages from Microsoft Exchange Server.
Save Message on DiskThis example retrieve and save messages from Microsoft Exchange Server in Eml or Msg formats.
Send EmailThis example send email from Microsoft Exchange Server.
Get Mailbox folder InformationThis example demonstrates the ability of Aspose.Email for .NET to get Mailbox Information from Microsoft Exchange Server.
Exchange Server (EWS)Description
Connect to Exchange ServerThis example connects to Microsoft Exchange Server using Exchange Web Services.
List Messages from Exchange ServerThis example list messages from Microsoft Exchange Server's Inbox folder using Exchange Web Services.
Retrieve Messages from Exchange ServerThis example retrieve messages from Microsoft Exchange Server using Exchange Web Services.
Save Message on DiskThis example retrieve and save messages from Microsoft Exchange Server in Eml or Msg formats using Exchange Web Services.
Send EmailThis example send email from Microsoft Exchange Server using Exchange Web Services.
Get Mailbox folder InformationThis example demonstrates the ability of Aspose.Email for .NET to get Mailbox Information from Microsoft Exchange Server Using Exchange Web Services.
SMPT ExamplesDescription
Send EmailThis example demonstrates the ability of Aspose.Email for .NET to send email using Smtp Mail Server.
Send Email with SSL enabled SMTP ServerThis example sends email using SSL enabled Smtp server.
Send Email with AttachmentsThis example demonstrates the ability of Aspose.Email for .NET to send email with attachments using Smtp mail server.
Send Email from Disk FileThis example demonstrates the ability of Aspose.Email for .NET to load Eml, Msg or Mht files from Disk and send email
Send Email with HTML BodyThis example uses Smtp mail server to send Html formatted email to any recipient.
Send Email with Meeting RequestThis example demonstrates the ability of Aspose.Email for .NET to send Meeting Request in email using Smtp mail server.
Send Email to Multiple RecipientsThis example sends email to multiple Recipients in To, Cc and Bcc.
Send Bulk Emails with Mail MergeThis example demonstrates the ability of Aspose.Email for .NET to perform mail merge and send emails in bulk.
IMAP ExamplesDescription
Connect to IMAP ServerThis example shows how to connect to an Imap mail server.
Connect to SSL enabled IMAP ServerThis example shows how to connect to a SSL enabled Imap mail server.
List MessagesThis example connects to an Imap Server and list messages from Inbox folder.
Retrieve MessagesThis example connects to an Imap Server and retrieve messages from Inbox folder.
Save Message on DiskThis examples demonstrates the ability of Aspose.Email for .NET to reterive messages from Imap mail server and save them to disk in Eml and Msg formats.
Get MailBox folder InformationThis example connects to an Imap Server and displays the folders information.
Change Message StatusThis example list messages from Imap server mailbox and allows you to mark any message as read/un-read.
POP3 ExamplesDescription
Connect to POP3 ServerThis example shows how to connect to a Pop3 mail server.
Connect to SSL enabled POP3 ServerThis example shows how to connect to a SSL enabled Pop3 mail server.
List MessagesThis example connects to a Pop3 Server and list messages from Inbox folder.
Retrieve MessagesThis example connects to a Pop3 Server and retrieve messages from Inbox folder.
Save Message on DiskThis example connects to a POP3 mail server, fetch the message in eml or msg format and download the file to browser.
Get Mailbox folder InformationThis example connects to a POP3 Mail Server and get Mailbox information e.g. size of mailbox and number of messages.
Email Format ExamplesDescription
Create an Email and Save as DraftThis example creates a new message file and save it in draft status.
Create an Email Message in Eml, Msg or Mht FormatsThis example creates a new message file with common properties like from, to, subject and text body. The file can be saved in Eml, Msg or Mht formats.
Create an Email with HTML Body and AttachmenstThis example creates a message file in Eml, Msg or Mht format including Html body and by adding/removing attachments from the message file.
Load and View Eml, Msg or Mht FileThis example allows to upload a message file in Eml, Msg or Mht format and show the contents of the uploaded message file.
Email Message File Format ConverterThis example allows to upload a message file in Eml, Msg or Mht format and convert it in any desired message format.
Miscellaneous ExamplesDescription
Verify Email AddressThis example shows how to validate an email address using Aspose.Email component.
Create or Update Tasks with iCalenderThis example demonstrates the ability of Aspose.Email for .NET to create and update tasks using iCalander

###Data

Input Email Message Files - Some examples require message files as input. User can specify any supported format(Msg, Eml and Mht) file by browsing the disk.

###Output

All examples will output the result to client machine through browser. Its upto the user to save the output or open it directly.

###Help Material

For further details on setting up the examples and any requirements refer to the readme.txt found in the root of the repository.

##Download the examples

Please download the Aspose.Email for .NET examples to try at your end.

##How to use the examples?

This package contains C# and VB.NET ASP.NET examples of Aspose.Email for .NET.

Firstly make sure that you have downloaded and installed the latest version of Aspose.Email for .NET. We recommend using the .MSI installer for fast installation and seamless intergration with the examples.

Download the examples from the above link. The solution files for Microsoft Visual Studio 2008 and 2010 are provided with the examples.

Once downloaded you can open the examples by opening the appropriate solution file (.sln) according to the version of Visual Studio installed on your system.

  • Aspose.Email.Demos.2008.sln - Open with Microsoft Visual Studio 2008
  • Aspose.Email.Demos.2010.sln - Open with Microsoft Visual Studio 2010

The example should be ready to compile. Click on "Debug" menu and choose one of the following menu items to start the example:

  • Start Debugging
  • Start Without Debugging

##Contact Us