Skip to main content
Home

@upyo/smtp@0.3.1
Built and signed on GitHub Actions

SMTP transport for Upyo email library

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
2 weeks ago (0.3.1)
method SmtpTransport.prototype.closeAllConnections
SmtpTransport.prototype.closeAllConnections(): Promise<void>

Closes all active SMTP connections in the connection pool.

This method should be called when shutting down the application to ensure all connections are properly closed and resources are freed.

Examples

Example 1

// At application shutdown
await transport.closeAllConnections();

Return Type

Promise<void>

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";
or

Import directly with a jsr specifier

import { SmtpTransport } from "jsr:@upyo/smtp";

Add Package

pnpm i jsr:@upyo/smtp
or (using pnpm 10.8 or older)
pnpm dlx jsr add @upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";

Add Package

yarn add jsr:@upyo/smtp
or (using Yarn 4.8 or older)
yarn dlx jsr add @upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";

Add Package

vlt install jsr:@upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";

Add Package

npx jsr add @upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";

Add Package

bunx jsr add @upyo/smtp

Import symbol

import { SmtpTransport } from "@upyo/smtp";