MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / OnTestReceiveMail

Function OnTestReceiveMail

source/setup.cpp:286–298  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

284}
285//---------------------------------------------------------------------------
286static void OnTestReceiveMail(TLetter * l)
287{
288 if( l->result )
289 ReportMess2("Test message sent successfully");
290 else
291 ReportError2(String("Error sent test message:\n") + l->error);
292
293 if( SetupForm )
294 {
295 SetupForm->TestButton->Enabled = true;
296 SetupForm->TestButton->Caption = "Send test message";
297 }
298}
299//---------------------------------------------------------------------------
300void __fastcall TSetupForm::TestButtonClick(TObject *Sender)
301{

Callers

nothing calls this directly

Calls 2

ReportMess2Function · 0.85
ReportError2Function · 0.85

Tested by

no test coverage detected