作为收件人,可以检测是否通过Gmail的“计划发送"电子邮件发送了电子邮件.与“发送"?
很好奇,是否在Gmail中标记了电子邮件标题,以表明电子邮件是计划发送还是立即发送.
Just curious if the email headers are marked by Gmail to denote if the email was scheduled vs sent right away.
我自己进行测试时,找不到任何其他标头或标头中的任何其他参数.不过,当您安排电子邮件时,Gmail会将 Date
标头设置为计划的时间.由于您只能以分钟为单位来安排电子邮件,而不能以秒为单位,因此,如果发送电子邮件的时间包括秒数,则可以确定没有安排电子邮件.在我的实验中:
When I tested this myself, I couldn't find any additional headers or any additional parameters in the headers. When you schedule an email, though, Gmail sets the Date
header to the scheduled time. Since you can schedule emails only with the precision of minutes but not seconds, you know for sure that the email wasn't scheduled if the time when the email was sent includes seconds. In my experiment:
Date: Sat, 13 Feb 2021 10:17:41 +0100 <- non-scheduled
Date: Sat, 13 Feb 2021 10:20:00 +0100 <- scheduled
要计算在秒为零时安排电子邮件的可能性,我们缺少基本费率已计划多少电子邮件.这是贝叶斯定理的经典应用程序:
To calculate the probability that the email was scheduled when the seconds are zero, we lack the base rate of how many emails are scheduled. It's a classic application of Bayes' theorem:
P(计划的|零)= P(零|计划的)* P(计划的)/(P(零|计划的)* P(计划的)+ P(零|不计划的)* P(计划的))
P(scheduled | zero) = P(zero | scheduled) * P(scheduled) / (P(zero | scheduled) * P(scheduled) + P(zero | non-scheduled) * P(non-scheduled))
其中:
- P(零|预定时间)= 1
- P(零|非计划时间)= 1/60
- P(非预定)= 1-P(预定)
如果将X设置为对计划发送的电子邮件的最佳估计,例如1/1000,则在秒为零的情况下,如果P = X/(X + 1/60 *(1-X)).X = 1/1000时,P = 5.6%.让我知道我是否犯了任何错误.
If you set X to to your best estimate of how many emails are scheduled, for example 1 / 1000, you get the probability that an email was indeed scheduled if the seconds are zero as P = X / (X + 1/60 * (1 - X)). With X = 1 / 1000, P = 5.6%. Let me know if I made any mistakes.
PS:标头包括哪个Gmail服务器发送了邮件.Google可能会对预定和非预定消息使用不同的服务器.但是,要想解决这个问题,就必须发送更多的电子邮件.
PS: The headers include which Gmail server sent the message. It might be that Google uses different servers for scheduled and non-scheduled messages. One would have to send way more emails, though, to figure this out.