【发布时间】:2018-02-28 23:01:27
【问题描述】:
我正在使用 nodemailer 使用 gmail 发送电子邮件,电子邮件作为发送,但它存储在 gmail 帐户中。 nodemailer 上的任何参数都可以在发送电子邮件时禁用存储副本?
【问题讨论】:
标签: node.js smtp gmail nodemailer
我正在使用 nodemailer 使用 gmail 发送电子邮件,电子邮件作为发送,但它存储在 gmail 帐户中。 nodemailer 上的任何参数都可以在发送电子邮件时禁用存储副本?
【问题讨论】:
标签: node.js smtp gmail nodemailer
如果您使用的是 gmail smtp 服务,这种情况是无法避免的。您只有两种解决方法,首先是使用其他服务(显然)或使用 gmail 端的过滤器从特定字段中删除邮件。下面的参考资料很旧,但仍然有效。
参考: https://productforums.google.com/forum/#!msg/gmail/reIlN3wHNYw/cznTPjdAa4IJ
关于如何创建过滤器: https://support.google.com/mail/answer/6579?hl=en
【讨论】: