C# Class newtelligence.DasBlog.Web.Services.MailToWeblog

This is the handler class for the Mail-To-Weblog functionality.
Afficher le fichier Open project: AArnott/dasblog Class Usage Examples

Méthodes publiques

Méthode Description
MailToWeblog ( string configPath, string contentPath, string binariesPath, string logPath, Uri binariesBaseUri ) : System
Run ( ) : void

Mail-To-Weblog runs in background thread and this is the thread function.

StoreAttachment ( Attachment attachment, string binariesPath ) : string

Stores an attachment to disk.

Private Methods

Méthode Description
EqualBuffers ( byte buf1, byte buf2, int len ) : bool

Compares two binary buffers up to a certain length.

GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo

This function is used for thumbnailing and gets an image encoder for a given mime type, such as image/jpeg

Method Details

MailToWeblog() public méthode

public MailToWeblog ( string configPath, string contentPath, string binariesPath, string logPath, Uri binariesBaseUri ) : System
configPath string
contentPath string
binariesPath string
logPath string
binariesBaseUri System.Uri
Résultat System

Run() public méthode

Mail-To-Weblog runs in background thread and this is the thread function.
public Run ( ) : void
Résultat void

StoreAttachment() public méthode

Stores an attachment to disk.
public StoreAttachment ( Attachment attachment, string binariesPath ) : string
attachment Lesnikowski.Pawel.Mail.Pop3.Attachment
binariesPath string
Résultat string