SendEmail(SessionCriteria,Boolean,String) Method
Send the completed package via email using the packaging configuration in the app.config file.
The following example sends all of the session files for the product the current application is running as to the email address specified in the application config file. Once packaged, sessions are marked as read and won't be automatically included in future packages.
//Send an email with all of the information about the current application we haven't sent before.
using(Packager packager = new Packager())
{
packager.SendEmail(SessionCriteria.NewSessions, true, null);
}
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2