Skip to content
Snippets Groups Projects
Commit 453b6081 authored by rswindell's avatar rswindell
Browse files

Added "Notify Recipients" checkbox to disable user notifications of received

e-mail.
parent 398cbdac
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,8 @@ void __fastcall TMailCfgDlg::FormShow(TObject *Sender)
&MAIL_OPT_DEBUG_RX_RSP;
DebugHeadersCheckBox->Checked=MainForm->mail_startup.options
&MAIL_OPT_DEBUG_RX_HEADER;
NotifyCheckBox->Checked
=!(MainForm->mail_startup.options&MAIL_OPT_NO_NOTIFY);
POP3EnabledCheckBox->Checked=MainForm->mail_startup.options
&MAIL_OPT_ALLOW_POP3;
POP3LogCheckBox->Checked=MainForm->mail_startup.options
......@@ -222,6 +224,10 @@ void __fastcall TMailCfgDlg::OKBtnClick(TObject *Sender)
MainForm->mail_startup.options|=MAIL_OPT_DEBUG_RX_RSP;
else
MainForm->mail_startup.options&=~MAIL_OPT_DEBUG_RX_RSP;
if(NotifyCheckBox->Checked==false)
MainForm->mail_startup.options|=MAIL_OPT_NO_NOTIFY;
else
MainForm->mail_startup.options&=~MAIL_OPT_NO_NOTIFY;
if(DebugHeadersCheckBox->Checked==true)
MainForm->mail_startup.options|=MAIL_OPT_DEBUG_RX_HEADER;
else
......
This diff is collapsed.
......@@ -126,6 +126,7 @@ __published:
TLabel *MaxMsgSizeLabel;
TEdit *MaxMsgSizeEdit;
TCheckBox *AuthViaIpCheckBox;
TCheckBox *NotifyCheckBox;
void __fastcall InboundSoundButtonClick(TObject *Sender);
void __fastcall OutboundSoundButtonClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment