Bodge.app

global email


methods


M.send


function M.send(t: EMail {
    server = string,
    username = string,
    password = string,
    from = string,
    to = string,
    subject = string,
    text = string,
    html = string,
    attachments = (Attachment),
    replyto = string,
}) ->  nil

Send an email using the SMTP protocol.

Note: You provide your own SMTP server info and account credentials.