1.0.11 • Published 4 years ago

inspira-mailgun v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

inspira-mailgun

Mailgun utilities

HOW TO USE

npm install --save inspira-mailgun

Use Inspira Mailgun - Sent report email

import { InspiraMailgun } from 'inspira-mailgun';


const inspiraMailgun = new InspiraMailgun.InspiraMailgunUtils(domain, Yourkey, { info: LoggerService.logger.info, error: LoggerService.logger.error});
inspiraMailgun.sendReportEmailTo(email)
     .then(() => LoggerService.logger.info('Report Mailgun Email sent'));
     .catch(e => { LoggerService.logger.error('Failing while sending report Email', e); })

Use Inspira Mailgun - Sent Receive Failures

import { InspiraMailgun } from 'inspira-mailgun';

// https://app.mailgun.com/app/sending/domains/example.domain.com/webhooks
app.use('/mailgun', new InspiraMailgun.routes(KeyFromMailGun).buildRoutes());

HOW TO PUBLISH

Push a change with a new version set in package.json and bitbucket pipeline will automatically publish a new npm package.

NOTE: To understand when the version number needs to change refer to npm documentation

Functionalities

  • Sent Email
  • Sent Stats report
  • Receive Permanent email failures.
1.0.11

4 years ago

1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago