Click or drag to resize

MailUtils Class

Various utility methods for working with email.
Inheritance Hierarchy
SystemObject
  NetQuarry.ServicesMailUtils

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static class MailUtils

The MailUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddAddresses
Add addresses to a MailMessage object's To, CC, or Bcc collection. This method handles email address strings containing "pretty" names (e.g. "Woods, Cam <cam.woods@amp;netquarry.com>") and expects a semi-colon separator between addresses.
Public methodStatic memberCreateMailAttachment
Package up a string as a text file mail attachment. This method can be used, for example, to provide an iCalendar attachment when using the iCal class to create the text content for the iCalendar text file with a ".ics" extension.
Top
See Also