mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2020-11-18 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDSendMail()' function in 'lib/rdsendmail.[cpp|h]'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
37
lib/rdsendmail.h
Normal file
37
lib/rdsendmail.h
Normal file
@@ -0,0 +1,37 @@
|
||||
// rdsendmail.h
|
||||
//
|
||||
// Send an e-mail message using sendmail(1)
|
||||
//
|
||||
// (C) Copyright 2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
// published by the Free Software Foundation.
|
||||
//
|
||||
// This program 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 General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public
|
||||
// License along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#ifndef RDSENDMAIL_H
|
||||
#define RDSENDMAIL_H
|
||||
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
bool RDSendMail(QString *err_msg,const QString &subject,const QString &body,
|
||||
const QString &from_addr,const QStringList &to_addrs,
|
||||
const QStringList &cc_addrs=QStringList(),
|
||||
const QStringList &bcc_addrs=QStringList());
|
||||
bool RDSendMail(QString *err_msg,const QString &subject,const QString &body,
|
||||
const QString &from_addr,const QString &to_addrs,
|
||||
const QString &cc_addrs=QString(),
|
||||
const QString &bcc_addrs=QString());
|
||||
|
||||
|
||||
#endif // RDSENDMAIL
|
||||
Reference in New Issue
Block a user