class SMTP::Client

Defined in:

client.cr

Constant Summary

CRLF = "\r\n"

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : Int32 = 587) #

[View source]

Instance Method Detail

def authenticate(username : String, password : String) #

[View source]
def close #

[View source]
def send_email(from : String, to : String, subject : String, body : String) #

[View source]