Client
Overview
Location
- Reference: Go.fx
- Namespace: go.net.smtp
- Platforms: Island
constructor
constructor
Client()
init()
Sub New()
constructor (Memory<Conn>, Conn, bool, string, Map<string, string>, Slice<string>, string, bool, error)
constructor(aText: Memory<Conn>; aconn: Conn; atls: bool; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: bool; ahelloError: error)
Client(Memory<Conn> aText, Conn aconn, bool atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, bool adidHello, error ahelloError)
Parameters:
- aText:
- aconn:
- atls:
- aserverName:
- aext:
- aauth:
- alocalName:
- adidHello:
- ahelloError:
constructor (Client)
Parameters:
- value:
Auth
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() tuple of (WriteCloser, error)
Function Data() As Tuple (Of WriteCloser, error)
Extension
Parameters:
- ext:
Hello
Parameters:
- localName:
Parameters:
- from:
Noop
Quit
Rcpt
Parameters:
- to:
Reset
method Reset: error
error Reset()
func Reset() -> error
func Reset() error
Function Reset() As error
StartTLS
Parameters:
- config:
Text
TLSConnectionState
method TLSConnectionState: tuple of (state: ConnectionState, ok: Boolean)
(ConnectionState state, Boolean ok) TLSConnectionState()
func TLSConnectionState() -> (ConnectionState, Boolean)
func TLSConnectionState() tuple of (|name=state| ConnectionState, |name=ok| Boolean)
Function TLSConnectionState() As Tuple (Of ConnectionState, Boolean)
Verify
Parameters:
- addr:
Text
constructor
constructor
Client()
init()
Sub New()
constructor (Memory<Conn>, Conn, bool, string, Map<string, string>, Slice<string>, string, bool, error)
constructor(aText: Memory<Conn>; aconn: Conn; atls: bool; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: bool; ahelloError: error)
Client(Memory<Conn> aText, Conn aconn, bool atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, bool adidHello, error ahelloError)
Parameters:
- aText:
- aconn:
- atls:
- aserverName:
- aext:
- aauth:
- alocalName:
- adidHello:
- ahelloError:
constructor (Client)
Parameters:
- value: