forked from KokaKiwi/boitalettres
Example where APPEND doesn't work #1
Loading…
Reference in a new issue
No description provided.
Delete branch "append_test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains code to demonstrate issue #13.
I've completed the
example/simple.rs
server to send different response to different commands.I also created
scripts/test_imap.sh
and completedscripts/test_imap.py
with different examples of using the APPEND command:scripts/test_imap.py
uses Python's IMAPlib.append()
method, which uses the continuation-style IMAP APPENDscripts/test_imap.sh
directly writes the IMAP APPEND in the non-continuation-style using netcatAs expected, the IMAPlib version just hangs indefinitely: Python waits for the server to send a continuation response, which is unimplemented.
However, unexpectedly, the netcat version doesn't work either. The connection is closed by the server, and a message like the following is produced in the logs:
(was not in the right repo)
Pull request closed