mailtrap-nodejs icon indicating copy to clipboard operation
mailtrap-nodejs copied to clipboard

Official mailtrap.io Node.js client

Results 8 mailtrap-nodejs issues
Sort by recently updated
recently updated
newest added

## Motivation Make examples folder structure more user-friendly, add template testing ## Changes - Examples folder restructure. - Added template sample for testing

## Motivation https://github.com/railsware/mailtrap-nodejs/security/dependabot/3 ## Changes - Bump `eslint-plugin-import` - It bumps `tsconfig-paths` which depends on `json5` - `json5` backported a fix to https://github.com/railsware/mailtrap-nodejs/security/dependabot/3 in 1.0.2 - There's a long thread...

## Motivation 1. The [general](https://github.com/railsware/mailtrap-nodejs/blob/main/src/lib/MailtrapClient.ts#L69) and [testing](https://github.com/railsware/mailtrap-nodejs/blob/main/src/lib/MailtrapClient.ts#L75) APIs are created lazily, after the first access to the corresponding getters. 2. Missing params for the Testing API ([here](https://github.com/railsware/mailtrap-nodejs/blob/main/src/lib/MailtrapClient.ts#L76)) are treated as...

Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2. Release notes Sourced from axios's releases. Release v1.8.2 Release notes: Bug Fixes http-adapter: add allowAbsoluteUrls to path building (#6810) (fb8eec2) Contributors to this release...

dependencies
javascript

The [implementation](https://github.com/mailtrap/mailtrap-nodejs/blob/main/src/lib/api/resources/Messages.ts#L61) for `testing.messages.get` is missing a couple of things from the [API description](https://api-docs.mailtrap.io/docs/mailtrap-api-docs/a80869adf4489-get-messages) - * `last_id`, `page` and `search` query params * The `Message` response type is missing `smtp_information.data`

## Motivation The axios logger was failing to properly extract error messages from API responses, resulting in unhelpful error messages like `[object Object]` instead of meaningful root cause information. This...

[object Object] message instead of error description

bug

example [improve-readme](https://github.com/railsware/mailtrap-php) The current format: Prerequisites Installations Framework tools integration (e.g. Laravel for PHP, Nodemailer for Nodejs) if any Usage -- Minimal (sending) -- Sending - Testing (highlight how to...