Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.smtp
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


CRAMMD5Auth

 

class method CRAMMD5Auth(username: string; secret: string): Auth

 

static Auth CRAMMD5Auth(string username, string secret)

 

static func CRAMMD5Auth(_ username: string, _ secret: string) -> Auth

 

func CRAMMD5Auth(username string, secret string) Auth

 

Shared Function CRAMMD5Auth(username As string, secret As string) As Auth

Parameters:

  • username:
  • secret:

Dial

 

// .NET, .NET Standard 2.0
class method Dial(addr: string): tuple of (Memory<Client>, error)
// Island
class method Dial(addr: string): tuple of (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
static (Memory<Client>, error) Dial(string addr)
// Island
static (Memory<Client>, error) Dial(string addr)

 

// .NET, .NET Standard 2.0
static func Dial(_ addr: string) -> (Memory<Client>, error)
// Island
static func Dial(_ addr: string) -> (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
func Dial(addr string) tuple of (Memory<Client>, error)
// Island
func Dial(addr string) tuple of (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
Shared Function Dial(addr As string) As Tuple (Of Memory<Client>, error)
// Island
Shared Function Dial(addr As string) As Tuple (Of Memory<Client>, error)

Parameters:

  • addr:

NewClient

 

// .NET, .NET Standard 2.0
class method NewClient(conn: Conn; host: string): tuple of (Memory<Client>, error)
// Island
class method NewClient(conn: Conn; host: string): tuple of (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
static (Memory<Client>, error) NewClient(Conn conn, string host)
// Island
static (Memory<Client>, error) NewClient(Conn conn, string host)

 

// .NET, .NET Standard 2.0
static func NewClient(_ conn: Conn, _ host: string) -> (Memory<Client>, error)
// Island
static func NewClient(_ conn: Conn, _ host: string) -> (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
func NewClient(conn Conn, host string) tuple of (Memory<Client>, error)
// Island
func NewClient(conn Conn, host string) tuple of (Memory<Client>, error)

 

// .NET, .NET Standard 2.0
Shared Function NewClient(conn As Conn, host As string) As Tuple (Of Memory<Client>, error)
// Island
Shared Function NewClient(conn As Conn, host As string) As Tuple (Of Memory<Client>, error)

Parameters:

  • conn:
  • host:

PlainAuth

 

class method PlainAuth(identity: string; username: string; password: string; host: string): Auth

 

static Auth PlainAuth(string identity, string username, string password, string host)

 

static func PlainAuth(_ identity: string, _ username: string, _ password: string, _ host: string) -> Auth

 

func PlainAuth(identity string, username string, password string, host string) Auth

 

Shared Function PlainAuth(identity As string, username As string, password As string, host As string) As Auth

Parameters:

  • identity:
  • username:
  • password:
  • host:

SendMail

 

class method SendMail(addr: string; a: Auth; from: string; to: Slice<string>; msg: Slice<Byte>): error

 

static error SendMail(string addr, Auth a, string from, Slice<string> to, Slice<Byte> msg)

 

static func SendMail(_ addr: string, _ a: Auth, _ from: string, _ to: Slice<string>, _ msg: Slice<Byte>) -> error

 

func SendMail(addr string, a Auth, from string, to Slice<string>, msg Slice<Byte>) error

 

Shared Function SendMail(addr As string, a As Auth, from As string, to As Slice<string>, msg As Slice<Byte>) As error

Parameters:

  • addr:
  • a:
  • from:
  • to:
  • msg: