Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index 449fdf1..154c1d5 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp | |||
@@ -195,25 +195,25 @@ void ComposeMail::accept() | |||
195 | odebug << "Sending Mail with " | 195 | odebug << "Sending Mail with " |
196 | << smtpAccounts.at( smtpAccountBox->currentItem() )->getAccountName() << oendl; | 196 | << smtpAccounts.at( smtpAccountBox->currentItem() )->getAccountName() << oendl; |
197 | #endif | 197 | #endif |
198 | Opie::Core::OSmartPointer<Mail> mail=new Mail; | 198 | Opie::Core::OSmartPointer<Mail> mail=new Mail; |
199 | 199 | ||
200 | SMTPaccount *smtp = smtpAccounts.at( smtpAccountBox->currentItem() ); | 200 | SMTPaccount *smtp = smtpAccounts.at( smtpAccountBox->currentItem() ); |
201 | mail->setMail(fromBox->currentText()); | 201 | mail->setMail(fromBox->currentText()); |
202 | 202 | ||
203 | if ( !toLine->text().isEmpty() ) { | 203 | if ( !toLine->text().isEmpty() ) { |
204 | mail->setTo( toLine->text() ); | 204 | mail->setTo( toLine->text() ); |
205 | } else { | 205 | } else { |
206 | QMessageBox::warning(0,tr("Sending mail"), | 206 | QMessageBox::warning(0,tr("Sending mail"), |
207 | tr("No Receiver spezified" ) ); | 207 | tr("No Receiver specified" ) ); |
208 | return; | 208 | return; |
209 | } | 209 | } |
210 | mail->setName(senderNameEdit->text()); | 210 | mail->setName(senderNameEdit->text()); |
211 | mail->setCC( ccLine->text() ); | 211 | mail->setCC( ccLine->text() ); |
212 | mail->setBCC( bccLine->text() ); | 212 | mail->setBCC( bccLine->text() ); |
213 | mail->setReply( replyLine->text() ); | 213 | mail->setReply( replyLine->text() ); |
214 | mail->setSubject( subjectLine->text() ); | 214 | mail->setSubject( subjectLine->text() ); |
215 | if (!m_replyid.isEmpty()) { | 215 | if (!m_replyid.isEmpty()) { |
216 | QStringList ids; | 216 | QStringList ids; |
217 | ids.append(m_replyid); | 217 | ids.append(m_replyid); |
218 | mail->setInreply(ids); | 218 | mail->setInreply(ids); |
219 | } | 219 | } |