Client Extension

Location

  • Reference: Go.dll
  • Namespace: go.net.smtp
  • Extends: Client
  • Platforms: .NET, .NET Standard 2.0

Instance Methods


Auth

 

method Auth(a: Auth): error

 

error Auth(Auth a)

 

func Auth(_ a: Auth) -> error

 

func Auth(a Auth) error

 

Function Auth(a As Auth) As error

Parameters:

  • a:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Data

 

method Data: tuple of (WriteCloser, error)

 

(WriteCloser, error) Data()

 

func Data() -> (WriteCloser, error)

 

func Data() (WriteCloser, error)

 

Function Data() As Tuple (Of WriteCloser, error)

Extension

 

method Extension(ext: string): tuple of (Boolean, string)

 

(Boolean, string) Extension(string ext)

 

func Extension(_ ext: string) -> (Boolean, string)

 

func Extension(ext string) (Boolean, string)

 

Function Extension(ext As string) As Tuple (Of Boolean, string)

Parameters:

  • ext:

Hello

 

method Hello(localName: string): error

 

error Hello(string localName)

 

func Hello(_ localName: string) -> error

 

func Hello(localName string) error

 

Function Hello(localName As string) As error

Parameters:

  • localName:

Mail

 

method Mail(from: string): error

 

error Mail(string from)

 

func Mail(_ from: string) -> error

 

func Mail(from string) error

 

Function Mail(from As string) As error

Parameters:

  • from:

Noop

 

method Noop: error

 

error Noop()

 

func Noop() -> error

 

func Noop() error

 

Function Noop() As error

Quit

 

method Quit: error

 

error Quit()

 

func Quit() -> error

 

func Quit() error

 

Function Quit() As error

Rcpt

 

method Rcpt(to: string): error

 

error Rcpt(string to)

 

func Rcpt(_ to: string) -> error

 

func Rcpt(to string) error

 

Function Rcpt(to As string) As error

Parameters:

  • to:

Reset

 

method Reset: error

 

error Reset()

 

func Reset() -> error

 

func Reset() error

 

Function Reset() As error

StartTLS

 

method StartTLS(config: Reference<Config>): error

 

error StartTLS(Reference<Config> config)

 

func StartTLS(_ config: Reference<Config>) -> error

 

func StartTLS(config Reference<Config>) error

 

Function StartTLS(config As Reference<Config>) As error

Parameters:

  • config:

TLSConnectionState

 

method TLSConnectionState: tuple of (state: ConnectionState, ok: Boolean)

 

(ConnectionState state, Boolean ok) TLSConnectionState()

 

func TLSConnectionState() -> (ConnectionState, Boolean)

 

func TLSConnectionState() (state ConnectionState, ok Boolean)

 

Function TLSConnectionState() As Tuple (Of ConnectionState, Boolean)

Verify

 

method Verify(addr: string): error

 

error Verify(string addr)

 

func Verify(_ addr: string) -> error

 

func Verify(addr string) error

 

Function Verify(addr As string) As error

Parameters:

  • addr: