From e569a96e2c68954e9eacbe84ecc7963e462d1f0f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 24 Feb 2016 12:38:49 +0100 Subject: Basic but working mailtransport. --- framework/mail/mailtransport.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 framework/mail/mailtransport.h (limited to 'framework/mail/mailtransport.h') diff --git a/framework/mail/mailtransport.h b/framework/mail/mailtransport.h new file mode 100644 index 00000000..2eb30a03 --- /dev/null +++ b/framework/mail/mailtransport.h @@ -0,0 +1,28 @@ +/* + Copyright (c) 2016 Christian Mollekopf + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public + License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. +*/ + +#pragma once + +#include +#include + +namespace MailTransport +{ + void sendMessage(const KMime::Message::Ptr &message, const QByteArray &server, const QByteArray &username, const QByteArray &password, const QByteArray &cacert); +}; -- cgit v1.2.3