Skip to content
SMTP implements for deno
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
code.ts
config.ts
deps.ts
mod.ts
smtp.ts
test.ts

README.md

Deno SMTP mail client

Build Status GitHub GitHub release (Deno)

Example

import { SmtpClient } from "https://deno.land/x/smtp@v0.2.0/mod.ts";

const client = new SmtpClient();
await client.connect({
  host: "smtp.163.com",
  port: 25,
  username: "username",
  password: "password"
});

await client.send({
  from: "mailaddress@163.com",
  to: "to-address@xx.com",
  subject: "Mail Title",
  content: "Mail Content,maybe HTML"
});

await client.close();
You can’t perform that action at this time.