From 32b19075b6b1c56689aac5e6cc2f0bf26e79d440 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 10 Apr 2017 15:33:58 +0300 Subject: [PATCH] Created Gmail sending (markdown) --- Gmail-sending.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Gmail-sending.md diff --git a/Gmail-sending.md b/Gmail-sending.md new file mode 100644 index 0000000..a1b6fec --- /dev/null +++ b/Gmail-sending.md @@ -0,0 +1,7 @@ +If a message is sent through Gmail MSA the following happens: + +1. If similar message(*) exists in Sent Mail folder, then nothing is done +2. If there is not similar messages in Sent Mail folder then the message submitted to MSA is copied to Sent Mail with Return-Path and Received header +3. If IMAP client appends messages that have a similar message in the same folder, then the existing message is deleted and new one is appended resulting in *1234 EXPUNGE* + *1234 EXISTS* + +(*) similar message is a message with same Message-Id and additional fields (exact fields are not known). If the message does not look similar but has existing Message-ID then nothing is deleted. If Message-ID of the new message is unique but otherwise looks like existing message, then also nothing is deleted. \ No newline at end of file