Skip to content

0wQ/next-smtp-proxy

Repository files navigation

部署方式

Vercel (推荐)

Vercel 分配的域名在中国大陆无法访问, 需使用自定义域名, 并修改 CNAME 记录为 cname-china.vercel-dns.com.

Deploy with Vercel

本地运行

npm i
npm run build
npm run start
# or
pnpm i
pnpm run build
pnpm run start

API

POST https://example.com/api
Content-Type: application/x-www-form-urlencoded

user=test@outlook.com
&password=这里是密码
&host=smtp-mail.outlook.com
&port=587
&form_name=这里是收件人名称
&to_email=test@outlook.com
&subject=这里是主题
&text=这里是内容
POST https://example.com/api
content-type: application/json

{
  "user": "test@outlook.com",
  "password": "这里是密码",
  "host": "smtp-mail.outlook.com",
  "port": 587,
  "form_name": "这里是收件人名称",
  "to_email": "test@outlook.com",
  "subject": "这里是主题",
  "text": "这里是内容"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published