Просмотр исходного кода

If integration is not supported, throw an exception with a reference

to the INSTALL file.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@88 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 11 лет назад
Родитель
Сommit
5c09d40683

+ 8
- 1
SNF_CS_Developer_Package/SNFUtility/SNFServerConfig/SendmailIntegrate.cpp Просмотреть файл

@@ -115,7 +115,14 @@ SendmailIntegrate::Integrate(FileBackup *SaveFile) {
if (!IntegrationIsSupported) {
return;
std::ostringstream Temp;
Temp << "Integration with sendmail is not supported on this platform. "
<< "Please see " << DOC_DIR << "/INSTALL for instructions for manual "
<< "integration with sendmail.";
throw std::runtime_error(Temp.str());
}

Загрузка…
Отмена
Сохранить