A full REST API wrapper for Postmark (email delivery service) version 0.0.7, targeting Node.js >=0.10.20. This library provides a simple callback-based interface for sending emails, managing bounces, and retrieving outbound/inbound messages via the Postmark API. It is not actively maintained; the last release is from 2014, and it uses deprecated `request` module under the hood. Modern alternatives include the official `postmark` npm package which supports promises, async/await, and better error handling.
npm install postmarkapiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sends a simple email using the Postmark API with a server token from environment variable.
npm install postmark
Use the official postmark package which uses modern HTTP clients.
Wrap calls in a Promise or use the official postmark package that supports promises.
Ensure file paths are absolute or relative to process.cwd(). Prefer object format with pre-loaded content.
Always pass arrays for cc and bcc for consistency.
Explicitly install 'request': npm install request
Use require('postmarkapi') or dynamic import().Provide a valid Postmark server token from your Postmark account.