summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource/mailtransport.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-06 20:22:47 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-06 20:22:47 +0100
commit57445759ee3c26dd03aa8292be3187685a424c1d (patch)
tree39cce9ee56e030bb9d6d7c23b43953330ad805e2 /examples/mailtransportresource/mailtransport.h
parent9237f0d23fb3700244933b36116397b80f466902 (diff)
downloadsink-57445759ee3c26dd03aa8292be3187685a424c1d.tar.gz
sink-57445759ee3c26dd03aa8292be3187685a424c1d.zip
Get mailtransport with kolabnow to work
when connecting to smtps:// the command will silently fail, with wireshark spewing out a cryptic "5.5.2 command not recognized". The magic commandline (that works) is: curl smtp://smtp.kolabnow.com:587 -v --mail-from "$USER" --mail-rcpt "$USER" --ssl -u $USER.ch:$PW -T alternative.mbox -k --anyauth
Diffstat (limited to 'examples/mailtransportresource/mailtransport.h')
-rw-r--r--examples/mailtransportresource/mailtransport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mailtransportresource/mailtransport.h b/examples/mailtransportresource/mailtransport.h
index 3ef4a6d..662fdc9 100644
--- a/examples/mailtransportresource/mailtransport.h
+++ b/examples/mailtransportresource/mailtransport.h
@@ -26,8 +26,8 @@
26namespace MailTransport 26namespace MailTransport
27{ 27{
28 enum Option { 28 enum Option {
29 UseTls, 29 UseTls = 1,
30 VerifyPeers 30 VerifyPeers = 2
31 }; 31 };
32 Q_DECLARE_FLAGS(Options, Option); 32 Q_DECLARE_FLAGS(Options, Option);
33 33