0.2.0 • Published 9 years ago

noflo-mail v0.2.0

Weekly downloads
3
License
-
Repository
github
Last release
9 years ago

noflo-mailin

receive email in nodejs noflo apps

usage

Use this lib in your nodejs runtime environment:

npm install --save noflo-mail

components

All Components:

mail/Filter

Icon: filter

Description: filter mail by criteria

Ports:

PortNameTypedescription
infieldstringthe field in incoming Mail, to filter for
inacceptsstringthe accepted value on filtered field
inregexpstringthe accepted regexp on filtered field
ininobjectthe incoming mail to filter
outoutobjectpassed if mail matches filter
outmissedobjectmissed if mail does not match filter

mail/Mail

Icon: envelope-o

Description: mail

Ports:

PortNameTypedescription
infromstringfrom field
intostringto field
inreply_tostringreply_to field
insubjectstringsubject field
intextstringtext field
inhtmlstringhtml field
insendallsend mail to out-Port "mail" on incoming IIP
outmailobject

mail/Receive

Icon: envelope

Description: receive email

Ports:

PortNameTypedescription
inoptionsobjectoutput of ReceiveOptions
outmailobjectthe received mail

mail/ReceiveOptions

Icon: gear

Description: options

Ports:

PortNameTypedescription
inportstringthe smtp server will listen on this port
inusernamestringusername to auth
inpasswordstringpassword to auth
outoutobjectthe options

mail/Send

Icon: envelope

Description: send emails to

Ports:

PortNameTypedescription
inmailobjectemail to send
inoptionsobjectsmtp transport options
outoutobject

mail/SendOptions

Icon: gear

Description: options

Ports:

PortNameTypedescription
inhoststringsmtp server
inportstringsmtp port
insecurebooleanshould ssl be used
outoutobjectthe options