33 #ifndef __KMAIL_MESSAGESENDER_H__
34 #define __KMAIL_MESSAGESENDER_H__
43 virtual ~MessageSender() = 0;
65 bool send( KMMessage * msg, SendMethod method=SendDefault ) { return doSend( msg, method ); }
77 bool sendQueued( const TQString & transport=TQString() ) { return doSendQueued( transport ); }
79 virtual void readConfig() = 0;
80 virtual void writeConfig( bool withSync = true ) = 0;
82 virtual bool sendImmediate() const = 0;
83 virtual void setSendImmediate( bool immediate ) = 0;
85 virtual bool sendQuotedPrintable() const = 0;
86 virtual void setSendQuotedPrintable( bool qp ) = 0;
88 virtual bool doSend( KMMessage * msg, short sendNow ) = 0;
89 virtual bool doSendQueued( const TQString& transport ) = 0;
92 inline MessageSender::~MessageSender() {}
|