summaryrefslogtreecommitdiff
path: root/noncore/net/mail/mailwrapper.cpp
Unidiff
Diffstat (limited to 'noncore/net/mail/mailwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mailwrapper.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/noncore/net/mail/mailwrapper.cpp b/noncore/net/mail/mailwrapper.cpp
index 7f67cd8..898e9d6 100644
--- a/noncore/net/mail/mailwrapper.cpp
+++ b/noncore/net/mail/mailwrapper.cpp
@@ -606,36 +606,24 @@ free_mem:
606 if ( smtp->getLogin() ) { 606 if ( smtp->getLogin() ) {
607 free( user ); 607 free( user );
608 free( pass ); 608 free( pass );
609 } 609 }
610 free( from ); 610 free( from );
611} 611}
612 612
613void MailWrapper::sendMail( Mail mail ) 613void MailWrapper::sendMail( Mail mail )
614{ 614{
615 mailmime *mimeMail; 615 mailmime *mimeMail;
616 616
617 mimeMail = createMimeMail( &mail ); 617 mimeMail = createMimeMail( &mail );
618 if ( mimeMail == NULL ) { 618 if ( mimeMail == NULL ) {
619 qDebug( "sendMail: error creating mime mail" ); 619 qDebug( "sendMail: error creating mime mail" );
620 } else { 620 } else {
621 smtpSend( mimeMail ); 621 smtpSend( mimeMail );
622 mailmime_free( mimeMail ); 622 mailmime_free( mimeMail );
623 } 623 }
624} 624}
625 625
626Mail::Mail() 626Mail::Mail()
627 :name(""), mail(""), to(""), cc(""), bcc(""), reply(""), subject(""), message("") 627 :name(""), mail(""), to(""), cc(""), bcc(""), reply(""), subject(""), message("")
628{ 628{
629} 629}
630
631RecMail::RecMail()
632 :subject(""),date(""),mbox(""),msg_number(0),msg_flags(7)
633{
634}
635
636#if 0
637void RecMail::setDate(const QString&aDate)
638{
639 mDate = QDateTime::fromString(aDate);
640}
641#endif