|
|
|
|
@ -3053,7 +3053,6 @@ void KMComposeWin::slotCheckSendNow() |
|
|
|
|
PotentialPhishingEmailJob *job = new PotentialPhishingEmailJob(this); |
|
|
|
|
KConfigGroup group( KGlobal::config(), "PotentialPhishing"); |
|
|
|
|
const QStringList whiteList = group.readEntry("whiteList", QStringList()); |
|
|
|
|
qDebug()<<" whiteList"<<whiteList; |
|
|
|
|
job->setEmailWhiteList(whiteList); |
|
|
|
|
QStringList lst; |
|
|
|
|
lst << mComposerBase->to(); |
|
|
|
|
@ -3068,15 +3067,11 @@ void KMComposeWin::slotCheckSendNow() |
|
|
|
|
|
|
|
|
|
void KMComposeWin::slotPotentialPhishingEmailsFound(const QStringList &list) |
|
|
|
|
{ |
|
|
|
|
#if 1 |
|
|
|
|
slotCheckSendNowStep2(); |
|
|
|
|
#else |
|
|
|
|
if (list.isEmpty()) { |
|
|
|
|
slotCheckSendNowStep2(); |
|
|
|
|
} else { |
|
|
|
|
mPotentialPhishingEmailWarning->setPotentialPhisingEmail(list); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool KMComposeWin::checkRecipientNumber() const |
|
|
|
|
|