Client
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net.smtp
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
Client()
init()
Sub New()
constructor (Memory<Conn>, Conn, Boolean, string, Map<string, string>, Slice<string>, string, Boolean, error)
// .NET, .NET Standard 2.0
constructor(aText: Memory<Conn>; aconn: Conn; atls: Boolean; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: Boolean; ahelloError: error)
// Island
constructor(aText: Memory<Conn>; aconn: Conn; atls: bool; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: bool; ahelloError: error)
// .NET, .NET Standard 2.0
Client(Memory<Conn> aText, Conn aconn, Boolean atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, Boolean adidHello, error ahelloError)
// Island
Client(Memory<Conn> aText, Conn aconn, bool atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, bool adidHello, error ahelloError)
// .NET, .NET Standard 2.0
init(_ aText: Memory<Conn>, _ aconn: Conn, _ atls: Boolean, _ aserverName: string, _ aext: Map<string, string>, _ aauth: Slice<string>, _ alocalName: string, _ adidHello: Boolean, _ ahelloError: error)
// Island
init(_ aText: Memory<Conn>, _ aconn: Conn, _ atls: bool, _ aserverName: string, _ aext: Map<string, string>, _ aauth: Slice<string>, _ alocalName: string, _ adidHello: bool, _ ahelloError: error)
// .NET, .NET Standard 2.0
Sub New(aText As Memory<Conn>, aconn As Conn, atls As Boolean, aserverName As string, aext As Map<string, string>, aauth As Slice<string>, alocalName As string, adidHello As Boolean, ahelloError As error)
// Island
Sub New(aText As Memory<Conn>, aconn As Conn, atls As bool, aserverName As string, aext As Map<string, string>, aauth As Slice<string>, alocalName As string, adidHello As bool, ahelloError As error)
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
// .NET, .NET Standard 2.0
method StartTLS(config: Memory<Config>): error
// Island
method StartTLS(config: Memory<Config>): error
// .NET, .NET Standard 2.0
error StartTLS(Memory<Config> config)
// Island
error StartTLS(Memory<Config> config)
// .NET, .NET Standard 2.0
func StartTLS(_ config: Memory<Config>) -> error
// Island
func StartTLS(_ config: Memory<Config>) -> error
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, Boolean, string, Map<string, string>, Slice<string>, string, Boolean, error)
// .NET, .NET Standard 2.0
constructor(aText: Memory<Conn>; aconn: Conn; atls: Boolean; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: Boolean; ahelloError: error)
// Island
constructor(aText: Memory<Conn>; aconn: Conn; atls: bool; aserverName: string; aext: Map<string, string>; aauth: Slice<string>; alocalName: string; adidHello: bool; ahelloError: error)
// .NET, .NET Standard 2.0
Client(Memory<Conn> aText, Conn aconn, Boolean atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, Boolean adidHello, error ahelloError)
// Island
Client(Memory<Conn> aText, Conn aconn, bool atls, string aserverName, Map<string, string> aext, Slice<string> aauth, string alocalName, bool adidHello, error ahelloError)
// .NET, .NET Standard 2.0
init(_ aText: Memory<Conn>, _ aconn: Conn, _ atls: Boolean, _ aserverName: string, _ aext: Map<string, string>, _ aauth: Slice<string>, _ alocalName: string, _ adidHello: Boolean, _ ahelloError: error)
// Island
init(_ aText: Memory<Conn>, _ aconn: Conn, _ atls: bool, _ aserverName: string, _ aext: Map<string, string>, _ aauth: Slice<string>, _ alocalName: string, _ adidHello: bool, _ ahelloError: error)
// .NET, .NET Standard 2.0
Sub New(aText As Memory<Conn>, aconn As Conn, atls As Boolean, aserverName As string, aext As Map<string, string>, aauth As Slice<string>, alocalName As string, adidHello As Boolean, ahelloError As error)
// Island
Sub New(aText As Memory<Conn>, aconn As Conn, atls As bool, aserverName As string, aext As Map<string, string>, aauth As Slice<string>, alocalName As string, adidHello As bool, ahelloError As error)
Parameters:
- aText:
- aconn:
- atls:
- aserverName:
- aext:
- aauth:
- alocalName:
- adidHello:
- ahelloError:
constructor (Client)
Parameters:
- value: