发送邮件

  • 接口名称:SendEmail
  • 所属业务:消息API
  • 传入数据(数据为Key=Value键值对,Key需要全部小写,Value需要转码,转码函数 .NET:System.Uri.EscapeDataString JAVA:encode PHP:urlencode)
    appkey=0ABAEFAD9E392288&attachment=http%3A%2F%2Fimg.sowu.com%2F3663%2F201502%2FNjM1NTg3MzQ0NzkyMTQzNTU5LDI0MzA4NyxpbWcuc293dS5jb20sODU2NTkzMTMsMzY0MzQ5MDg0_part1.jpg&bcc=%5B%7B%22Address%22%3A%22621836053%40qq.com%22%2C%22DisplayName%22%3A%22Robin%20QQ%22%7D%2C%7B%22Address%22%3A%22zhaoguangxu2004%40163.com%22%2C%22DisplayName%22%3A%22Robin%20163%22%7D%5D&body=%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0%E6%B5%8B%E8%AF%95%E9%82%AE%E4%BB%B6%E5%86%85%E5%AE%B9%3Cbr%20%2F%3E%E6%AC%A2%E8%BF%8E%E4%BD%BF%E7%94%A8%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0%E9%82%AE%E4%BB%B6%E5%8F%91%E9%80%81%E6%8E%A5%E5%8F%A3&cc=%5B%7B%22Address%22%3A%22zhaoguangxu%40gmail.com%22%2C%22DisplayName%22%3A%22Robin%20Gmail%22%7D%2C%7B%22Address%22%3A%222880761589%40qq.com%22%2C%22DisplayName%22%3A%22Robin%20Tenze%22%7D%5D&format=json&from=open%40sender.sowu.com&fromname=%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0&method=SendEmail&signature=EAF348832F0B8223&subject=%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0%E6%B5%8B%E8%AF%95%E9%82%AE%E4%BB%B6&timestamp=1441089103&to=%5B%7B%22Address%22%3A%2228972015%40qq.com%22%2C%22DisplayName%22%3A%22Robin%20QQ%22%7D%2C%7B%22Address%22%3A%22robinzhao%40tenze.cn%22%2C%22DisplayName%22%3A%22Robin%20Tenze%22%7D%5D&token=13988230B8E75AC6
  • 传出示例

调用者类型

传入参数

名称 类型 描述 约束 权限
From System.String 发件人地址 必填; 系统
FromName System.String 发件人名称 选填; 系统
To System.Collections.Generic.ICollection`1[Sowu.Api.Model.SendEmail.InMailAddress] 查看对象 收件人地址集合 必填; 系统
Bcc System.Collections.Generic.ICollection`1[Sowu.Api.Model.SendEmail.InMailAddress] 查看对象 密件抄送收件人的地址集合 选填; 系统
CC System.Collections.Generic.ICollection`1[Sowu.Api.Model.SendEmail.InMailAddress] 查看对象 抄送收件人的地址集合 选填; 系统
Subject System.String 标题 必填; 系统
Body System.String 正文(支持Html) 必填; 系统
Attachment System.String 附件,使用绝对URL地址,多个用分号';'分隔 选填;使用绝对URL地址,多个用分号';'分隔; 系统

传出参数

名称 类型 描述 约束 权限