1. 重置密码邮件
    1. 链接激活
    2. 验证码激活
  2. 账户注册成功邮件,通知
  3. 认证成功邮件,通知

mailto: 发送邮件

  1. function Mailto(props) {
  2. const { email, subject = '', body = '', children } = props;
  3. return (
  4. <a href={`mailto:${email}?subject=${subject}&body=${body}`}>
  5. {children}
  6. </a>
  7. );
  8. }
  9. export default Mailto

Mailto 组件

  1. <Mailto email="foo@bar.baz" subject="Hello" body="Hello world!">
  2. 发送邮件
  3. </Mailto>

邮件模板