Table of Contents

Class SmtpServerData

Namespace
SunamoMail.Data
Assembly
SunamoMail.dll

SMTP server configuration data.

public class SmtpServerData
Inheritance
SmtpServerData
Inherited Members
Extension Methods

Properties

Port

Gets or sets the SMTP server port.

public int Port { get; set; }

Property Value

int

SmtpServer

Gets or sets the SMTP server hostname.

public string SmtpServer { get; set; }

Property Value

string

Methods

Gmail()

Creates SMTP server configuration for Gmail.

public static SmtpServerData Gmail()

Returns

SmtpServerData

SMTP configuration for Gmail (smtp.gmail.com:587).

SeznamCz()

Creates SMTP server configuration for Seznam.cz.

public static SmtpServerData SeznamCz()

Returns

SmtpServerData

SMTP configuration for Seznam.cz (smtp.seznam.cz:25).