MBOX-Line: From iana at apple.com  Mon Jan 14 00:05:39 2013
To: imap-protocol@u.washington.edu
From: Ian Anderson <iana@apple.com>
Date: Fri Jun  8 12:34:50 2018
Subject: [Imap-protocol] Is there some way to detect servers which
	automatically add sent messages to the Sent mailbox?
In-Reply-To: <83A6F18656334E6CA23106F9DB1C8EC1@gmail.com>
References: <647C20F7-BB5D-47DD-BC89-3B0D903D2900@apple.com>
	<7B9C4CD5-75ED-46F7-8AE4-C3415918E905@apple.com>
	<83A6F18656334E6CA23106F9DB1C8EC1@gmail.com>
Message-ID: <E4D13318-11D2-41EF-979F-2840AF2AF9C9@apple.com>

Oh yeah, I didn?t think about BURL.  Bleargh.  Searching for the message in the Sent mailbox after sending seems rather error prone.  What if it takes ten minutes for the message to show up automatically?  Maybe an extended SMTP status code from the DATA command would make sense on servers that are going to do the append for you though?

Ian

On Jan 13, 2013, at 5:34 PM, Ho? V. Dinh <dinh.viet.hoa@gmail.com> wrote:

> Maybe you could detect the IMAP server you're dealing with and behaves accordingly to its behaviour.
> An other solution could be to FETCH in the Sent mailbox after the mail has been sent.
> And match the message based on the Message-ID, then, decide whether you really need to APPEND the message.
> 
> -- 
> Ho? V. Dinh

On Jan 13, 2013, at 4:52 PM, Dave Cridland <dave@cridland.net> wrote:
> No, there isn't, as far as I know. You can, on some systems, tell which is the Sent mailbox, and you could watch it for a new message, I suppose. I bet systems supporting special use mailboxes don't do the automatic append, though.
> 
> On other systems, the "correct" method for sending a message is to first append it, and then submit by BURL.
> 
> Finally, Alexey had a postaddress extension which allowed you to do the append by using a special address during submission.
> 
> Dave.
> 

> On Sunday, January 13, 2013 at 4:43 PM, Ian Anderson wrote:
>> I suppose this might be more likely as an SMTP response code (though I can?t find a defined one) than an IMAP capability or some such, but maybe someone on this list knows anyway? <wishful_thinking>
>> 
>> Ian
>> 
>> On Jan 13, 2013, at 4:31 PM, Ian Anderson <iana@apple.com> wrote:
>> 
>>> I?ve noticed that in some systems when you send a message via SMTP, it will put a copy in the user?s Sent mailbox. Most of them don?t however, necessitating that I do an IMAP APPEND to get the message in Sent. Is there a good/any way to tell when the APPEND is necessary? Right now I?m doing it all the time which is resulting in double copies in the Sent mailbox for systems that do it automatically.
>>> 
>>> Ian_______________________________________________
>>> Imap-protocol mailing list
>>> Imap-protocol@u.washington.edu
>>> http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
>> 
>> _______________________________________________
>> Imap-protocol mailing list
>> Imap-protocol@u.washington.edu
>> http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
>> 
>> Attachments:
>> - smime.p7s
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20130114/6ff32a8c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4383 bytes
Desc: not available
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20130114/6ff32a8c/attachment.p7s>
