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)
constructor(value: Client)
Client(Client value)
init(_ value: Client)
Sub New(value As Client)
Parameters:
- value:
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() -> tuple of (WriteCloser, error)
func Data() tuple of (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) -> tuple of (Boolean, string)
func Extension(ext string) tuple of (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:
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: Memory<Config>): error
error StartTLS(Memory<Config> config)
func StartTLS(_ config: Memory<Config>) -> error
func StartTLS(config Memory<Config>) error
Function StartTLS(config As Memory<Config>) As error
Parameters:
- config:
Text
var Text: Memory<Conn>;
Memory<Conn> Text
var Text: Memory<Conn>
Text Memory<Conn>
FIELD Text() As Memory<Conn>
TLSConnectionState
method TLSConnectionState: tuple of (state: ConnectionState, ok: Boolean)
(ConnectionState state, Boolean ok) TLSConnectionState()
func TLSConnectionState() -> tuple of (ConnectionState, Boolean)
func TLSConnectionState() tuple of (|name=state| ConnectionState, |name=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:
Text
var Text: Memory<Conn>;
Memory<Conn> Text
var Text: Memory<Conn>
Text Memory<Conn>
FIELD Text() As Memory<Conn>
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)
constructor(value: Client)
Client(Client value)
init(_ value: Client)
Sub New(value As Client)
Parameters:
- value: