When writing an application that sends emails based on certain events, I would like to enforce the rule that each of these emails starts a new “conversation”.
Mail systems such as Gmail, such as multicast emails, in “conversations”, so that messages A are considered a response to message B. There are many methods that they use to determine which message you reply, such as the Subject: header or the In-Reply-To header.
However, since automated emails usually sometimes use subject lines (for example, "Monitoring failure on the server foo.bar.com"), often the postal service will consider that this letter is actually a response to the previous message with the same message if they are not connected with friend. This can lead to confusion and potential customer flaws.
Is it possible (and if so, how) to signal in your message headers that this letter is NOT a response to any other, despite any possible similarities in the subject lines?
Since the email object itself is visible to the client, I would prefer to avoid stupidity as follows: "Subject: Automated reminder for $task [".md5sum(date())."]"
email mime email-headers
tylerl
source share