# \[PATCH\] git-imap-send: Add support for SSL.

- From: Rob Shearman \<hidden\>
- Date: 2016-06-15 22:44:40 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7349478
- Thread: https://ratatoskr.run/git/2016/06/7349478/t.md

```text
Allow SSL to be used when a new config setting, imap.ssl, is set to true.

Also, automatically use TLS when imap.ssl is not set by using the IMAP
STARTTLS command, if the server supports it.

Tested with Courier and Gimap IMAP servers.

Signed-off-by: Robert Shearman <redacted>
---
 Documentation/git-imap-send.txt |    1 +
 Makefile                        |    4 +-
 imap-send.c                     |  165 +++++++++++++++++++++++++++++++++++----
 3 files changed, 153 insertions(+), 17 deletions(-)
```

## Attachments

- [2b61990fac685caf27b906cb0b7ed66463b1c11b.diff](https://ratatoskr.run/git/2016/06/7349478/attachment/0) (text/x-patch, 7878 bytes)
