|
|
|
|
@ -34,6 +34,14 @@ extern KMIdentity *identity; |
|
|
|
|
#include <sys/stat.h> |
|
|
|
|
#include <sys/wait.h> |
|
|
|
|
|
|
|
|
|
#ifdef HAVE_PATHS_H |
|
|
|
|
#include <paths.h> |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef _PATH_SENDMAIL |
|
|
|
|
#define _PATH_SENDMAIL "/usr/sbin/sendmail" |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#define SENDER_GROUP "sending mail" |
|
|
|
|
|
|
|
|
|
/** uncomment the following line for SMTP debug output */ |
|
|
|
|
@ -72,7 +80,7 @@ void KMSender::readConfig(void) |
|
|
|
|
|
|
|
|
|
mSendImmediate = (bool)config->readNumEntry("Immediate", TRUE); |
|
|
|
|
mSendQuotedPrintable = (bool)config->readNumEntry("Quoted-Printable", FALSE); |
|
|
|
|
mMailer = config->readEntry("Mailer", "/usr/sbin/sendmail"); |
|
|
|
|
mMailer = config->readEntry("Mailer", _PATH_SENDMAIL); |
|
|
|
|
mSmtpHost = config->readEntry("Smtp Host", "localhost"); |
|
|
|
|
mSmtpPort = config->readNumEntry("Smtp Port", 25); |
|
|
|
|
|
|
|
|
|
|