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
class method Dial(addr: string): tuple of (Memory<Client>, error)
static (Memory<Client>, error) Dial(string addr)
static func Dial(_ addr: string) -> tuple of (Memory<Client>, error)
func Dial(addr string) tuple of (Memory<Client>, error)
Shared Function Dial(addr As string) As Tuple (Of Memory<Client>, error)
Parameters:
- addr:
NewClient
class method NewClient(conn: Conn; host: string): tuple of (Memory<Client>, error)
static (Memory<Client>, error) NewClient(Conn conn, string host)
static func NewClient(_ conn: Conn, _ host: string) -> tuple of (Memory<Client>, error)
func NewClient(conn Conn, host string) tuple of (Memory<Client>, error)
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: