resource-email

for sending emails

npm install resource-email
2 downloads in the last week
8 downloads in the last month

email

for sending emails

API

properties

methods

  • send (options, callback)

properties

for sending emails

  • id

    • type : any
  • to

    • type : string

    • description : where the email will be sent to

  • from

    • type : string

    • description : where the email will be sent from

  • subject

    • type : string

    • description : the subject of the email

  • cc

    • type : string

    • description : where to send carbon copies

  • bcc

    • type : string

    • description : where to send blind carbon copies

  • body

    • type : string

    • description : the content of the email

methods

email.send(options, callback)

sends an email

  • options

    • type : object

    • properties

      • id

        • type : any
      • to

        • type : string

        • description : where the email will be sent to

      • from

        • type : string

        • description : where the email will be sent from

      • subject

        • type : string

        • description : the subject of the email

      • cc

        • type : string

        • description : where to send carbon copies

      • bcc

        • type : string

        • description : where to send blind carbon copies

      • body

        • type : string

        • description : the content of the email

  • callback

    • type : function

README auto-generated with docs

npm loves you