Diffstat (limited to 'noncore/net/mail/libmailwrapper/smtpwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/smtpwrapper.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/smtpwrapper.h b/noncore/net/mail/libmailwrapper/smtpwrapper.h index 8fdb07d..41e9a8c 100644 --- a/noncore/net/mail/libmailwrapper/smtpwrapper.h +++ b/noncore/net/mail/libmailwrapper/smtpwrapper.h | |||
@@ -23,9 +23,9 @@ class SMTPwrapper : public QObject | |||
23 | 23 | ||
24 | public: | 24 | public: |
25 | SMTPwrapper( Settings *s ); | 25 | SMTPwrapper( Settings *s ); |
26 | virtual ~SMTPwrapper(){} | 26 | virtual ~SMTPwrapper(){} |
27 | void sendMail(const Mail& mail ); | 27 | void sendMail(const Mail& mail,bool later=false ); |
28 | 28 | ||
29 | protected: | 29 | protected: |
30 | mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); | 30 | mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); |
31 | mailimf_fields *createImfFields(const Mail &mail ); | 31 | mailimf_fields *createImfFields(const Mail &mail ); |
@@ -34,20 +34,22 @@ protected: | |||
34 | mailimf_address_list *parseAddresses(const QString&addr ); | 34 | mailimf_address_list *parseAddresses(const QString&addr ); |
35 | void addFileParts( mailmime *message,const QList<Attachment>&files ); | 35 | void addFileParts( mailmime *message,const QList<Attachment>&files ); |
36 | mailmime *buildTxtPart(const QString&str ); | 36 | mailmime *buildTxtPart(const QString&str ); |
37 | mailmime *buildFilePart(const QString&filename,const QString&mimetype ); | 37 | mailmime *buildFilePart(const QString&filename,const QString&mimetype ); |
38 | void smtpSend( mailmime *mail ); | 38 | void smtpSend( mailmime *mail,bool later ); |
39 | mailimf_field *getField( mailimf_fields *fields, int type ); | 39 | mailimf_field *getField( mailimf_fields *fields, int type ); |
40 | clist *createRcptList( mailimf_fields *fields ); | 40 | clist *createRcptList( mailimf_fields *fields ); |
41 | char *getFrom( mailmime *mail ); | 41 | char *getFrom( mailmime *mail ); |
42 | SMTPaccount *getAccount(const QString&from ); | 42 | SMTPaccount *getAccount(const QString&from ); |
43 | void writeToFile(const QString&file, mailmime *mail ); | 43 | void writeToFile(const QString&file, mailmime *mail ); |
44 | void readFromFile(const QString&file, char **data, size_t *size ); | 44 | void readFromFile(const QString&file, char **data, size_t *size ); |
45 | void storeMail(char*mail, size_t length, const QString&box); | ||
45 | 46 | ||
46 | static QString mailsmtpError( int err ); | 47 | static QString mailsmtpError( int err ); |
47 | static QString getTmpFile(); | 48 | static QString getTmpFile(); |
48 | static void progress( size_t current, size_t maximum ); | 49 | static void progress( size_t current, size_t maximum ); |
49 | static void addRcpts( clist *list, mailimf_address_list *addr_list ); | 50 | static void addRcpts( clist *list, mailimf_address_list *addr_list ); |
51 | void storeMail(mailmime*mail, const QString&box); | ||
50 | Settings *settings; | 52 | Settings *settings; |
51 | }; | 53 | }; |
52 | 54 | ||
53 | #endif | 55 | #endif |