Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望允许用户从他们自己的电子邮件地址发送电子邮件如何更改 email_host 设置从实例到实例?
email_host = user.profile.email_host
建议?
那是行不通的。大多数电子邮件提供商都需要某种身份验证,以防止被用作垃圾邮件网关。而是提供一个 mailto: 链接来打开用户自己的电子邮件客户端。