---------------------------------------------------------------------------
| 284 | } |
| 285 | //--------------------------------------------------------------------------- |
| 286 | static 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 | //--------------------------------------------------------------------------- |
| 300 | void __fastcall TSetupForm::TestButtonClick(TObject *Sender) |
| 301 | { |
nothing calls this directly
no test coverage detected