UTMail  1.0
Email Composition and Sending Plugin
Static Public Member Functions | List of all members
UT.MailUtil Class Reference

Various utility functions used by UTMail. More...

Static Public Member Functions

static string [] MailAddressCollectionToStrings (MailAddressCollection collection)
 Converts MailAddressCollection to string[]. More...
 
static string StreamToFilePath (Stream stream, string fileName)
 Writes a stream into a temporary file. More...
 
static string AttachmentToFilePath (Attachment attachment)
 Writes an attachment into a temporary file. More...
 
static string [] AttachmentsToFilePaths (AttachmentCollection attachments)
 Writes a collection of attachments into temporary files. More...
 
static void CleanTempAttachmentDirectory ()
 Cleans the temporary attachments directory. More...
 

Detailed Description

Various utility functions used by UTMail.

Member Function Documentation

◆ AttachmentsToFilePaths()

static string [] UT.MailUtil.AttachmentsToFilePaths ( AttachmentCollection  attachments)
static

Writes a collection of attachments into temporary files.

◆ AttachmentToFilePath()

static string UT.MailUtil.AttachmentToFilePath ( Attachment  attachment)
static

Writes an attachment into a temporary file.

◆ CleanTempAttachmentDirectory()

static void UT.MailUtil.CleanTempAttachmentDirectory ( )
static

Cleans the temporary attachments directory.

◆ MailAddressCollectionToStrings()

static string [] UT.MailUtil.MailAddressCollectionToStrings ( MailAddressCollection  collection)
static

Converts MailAddressCollection to string[].

◆ StreamToFilePath()

static string UT.MailUtil.StreamToFilePath ( Stream  stream,
string  fileName 
)
static

Writes a stream into a temporary file.


The documentation for this class was generated from the following file: