我的接口中心
  1. API v2 (golang)
我的接口中心
  • API v2 (golang)
    • 发送邮件
      GET
    • tcping
      GET
    • 翻译/腾讯
      GET
    • 翻译/CloudFlare
      GET
    • 获取信息/UserAgent
      GET
  1. API v2 (golang)

发送邮件

开发中
GET
https://api.jaxing.cc/v2/SendMail

请求参数

Query 参数
host
string 
smtp服务器
必需
示例值:
smtp.exmail.qq.com
port
string 
smtp端口
必需
示例值:
465
sender
string 
发件人邮箱
必需
示例值:
admin@qq.com
password
string 
发件人密码/密钥
必需
示例值:
password
recipient
string 
收件人邮箱
必需
示例值:
jiaxin149@qq.com
body
string 
必需
邮件内容(支持html)
示例值:
<p>你好,我是王大锤</p>
title
string 
邮件标题
必需
示例值:
名字介绍

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.jaxing.cc/v2/SendMail?host=smtp.exmail.qq.com&port=465&sender=admin@qq.com&password=password&recipient=jiaxin149@qq.com&body=<p>你好,我是王大锤</p>&title=名字介绍'

返回响应

🟢200成功
application/json
Body
msg
string 
必需
code
string 
必需
示例
{
  "msg": "发送成功",
  "status": "ok"
}
下一页
tcping
Built with