gmail imap_摆脱Gmail和IMAP客户端中的未读垃圾邮件计数

gmail imap

gmail imap

If you are a Gmail user, you’ve probably noticed the annoying unread message count for the Spam folder. It’s even worse when you use an IMAP client to access your email, and then try and use a search folder for unread mail… which gives you nothing but spam.

如果您是Gmail用户,则可能已经注意到“垃圾邮件”文件夹中令人讨厌的未读邮件数。 当您使用IMAP客户端访问电子邮件,然后尝试使用搜索文件夹来处理未读邮件时,情况更糟……这只会给您带来垃圾邮件。

What we’ll do is use Gmail’s filter capabilities to create a filter that automatically marks spam messages as read, preventing the unread count from appearing anywhere.

我们要做的就是使用Gmail的过滤器功能来创建一个过滤器,该过滤器会自动将垃圾邮件标记为已读,从而防止未读邮件出现在任何地方。

image

This method should work for both Gmail as well as any IMAP client that you use. (Note: This only works if you are using the new gmail interface.)

此方法适用于Gmail以及您使用的任何IMAP客户端。 (注意:仅当您使用新的gmail界面时,此方法才有效。)

Mark All Spam as Read Automatically

将所有垃圾邮件标记为自动

Open up Gmail and then click the link to create a new filter. In the “Has the words” box, enter “in:spam” (without the quotes) as you can see in the image below. You can use the Test Search button to make sure it shows just spam emails.

打开Gmail,然后单击链接以创建新的过滤器。 在“有文字”框中,输入“ in:spam”(不带引号),如下图所示。 您可以使用“测试搜索”按钮来确保它仅显示垃圾邮件。

image

Now click the Next Step button, and ignore the error message you get. Select the checkbox for “Mark as read”, and then click the Create Filter button. Note that you could auto-delete all spam using this same filter, although I’m not recommending that.

现在,单击“下一步”按钮,然后忽略收到的错误消息。 选中“标记为已读”复选框,然后单击“创建过滤器”按钮。 请注意,您可以使用相同的过滤器自动删除所有垃圾邮件,尽管我不建议这样做。

image

At this point, all incoming spam will be automatically marked as read. (You’d want to clear out the current spam, of course)

此时,所有传入的垃圾邮件将被自动标记为已读。 (当然,您要清除当前的垃圾邮件)

image

The best part is that you no longer have to deal with the unread count in your IMAP client either:

最好的部分是您不再需要处理IMAP客户端中的未读计数:

image

I don’t understand why some of this spam isn’t just automatically deleted.

我不明白为什么其中一些垃圾邮件不会被自动删除。

翻译自: https://www.howtogeek.com/howto/the-geek-blog/get-rid-of-the-unread-spam-message-count-in-gmail-and-your-imap-client/

gmail imap

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值