使用记录的 id 调用对象 send_mail的方法来渲染模板。template
template_id.send_mail(record_id, force_send=True)
Run Code Online (Sandbox Code Playgroud)
force_send用于指定立即发送电子邮件;否则,使用邮件队列(推荐)。
| 归档时间: |
|
| 查看次数: |
4075 次 |
| 最近记录: |