smtp vocabulary - Factor Documentation (original) (raw)

smtp vocabulary
Factor handbook » Vocabulary index

Documentation
SMTP client library

Metadata

Tags: email, enterprise, network
Authors: Elie Chaftari, Dirk Vleugels, Slava Pestov, Doug Coleman, Daniel Ehrenberg

Words

Tuple classes

Class Superclass Slots
email tuple from to cc bcc subject content-type encoding body
login-auth tuple username password
plain-auth tuple username password
smtp-config tuple domain server tls? read-timeout auth

Singleton classes

no-auth

Ordinary words

Word Stack effect
( -- email )
( username password -- login-auth )
( username password -- plain-auth )
( -- smtp-config )
default-smtp-config ( -- smtp-config )
log-smtp-connection ( message -- )
send-email ( email -- )
with-smtp-config ( quot -- )
with-smtp-connection ( quot -- )

Class predicate words

Word Stack effect
email? ( object -- ? )
login-auth? ( object -- ? )
no-auth? ( object -- ? )
plain-auth? ( object -- ? )
smtp-config? ( object -- ? )

Files

resource:basis/smtp/smtp.factor
resource:basis/smtp/smtp-docs.factor
resource:basis/smtp/smtp-tests.factor

Metadata files

resource:basis/smtp/authors.txt
resource:basis/smtp/summary.txt
resource:basis/smtp/tags.txt

Children from resource:basis

Vocabulary Summary
smtp.server SMTP server for testing purposes