gpt4 book ai didi

c# - 发送电子邮件而不在“已发送”文件夹中留下副本

转载 作者:太空宇宙 更新时间:2023-11-03 13:58:24 25 4
gpt4 key购买 nike

当管理员在系统中创建凭据时,我正在使用 SmtpClient 向新用户发送凭据。每次用户自己(不是管理员)更新他的帐户时,我都会发送一封关于新凭据的电子邮件,以防用户更改用户名或密码。

所以我想要的是不要在“已发送”文件夹中保存已发送电子邮件的副本。

我正在使用 C# 开发 WPF 应用程序。

那么是否可以在不留下副本的情况下发送电子邮件?

我只是想避免在“已发送”文件夹中留下副本,因为所有用户的凭据都将存在于“已发送”电子邮件中。

提前致谢!

最佳答案

发现于 Gmail forum

There is no option to not save sent messages in Gmail, but you can create a filter to delete all sent mail. Create a filter with "me" in the From field, and set it to delete. The messages will be put in the Trash immediately.

关于c# - 发送电子邮件而不在“已发送”文件夹中留下副本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11424710/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com