Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email and FTP no longer working
#1
Hi, my program which uses indy 10.6.2.0 was working fine until the beginning of June.  It will no longer send emails or ftp.  I don't event know where to start.  My sending code is below and errors skip the first to Catch attempts.  So I have no good idea as to what's up.  Any suggestions?  This is important for our little non profit.  

Code:
try
{
gSMTP->Send(idMsg);
MessageSent = true;
// see text with heading A below
}
catch(const std::runtime_error& re)
{
// speciffic handling for runtime_error
//std::cerr << "Runtime error: " << re.what() << std::endl;
BobMessage("Runtime error: "+String(re.what()));
MessageSent = false;
Close();
}
catch(const std::exception& ex)
{
// speciffic handling for all exceptions extending std::exception, except
// std::runtime_error which is handled explicitly
//std::cerr << "Error occurred: " << ex.what() << std::endl;
BobMessage("Error occurred: "+String(ex.what()));
MessageSent = false;
Close();

}
catch(...)
{
MessageSent = false;
BobMessage("Failure on Send to "+ ToEdit->Text+"\nConnect seemed to work");
Close();
// see text with heading B below
}


Any help I can get will be appreciated.  I'm out of my depth.

Bob
Reply


Messages In This Thread
Email and FTP no longer working - by OldBob1938 - 06-13-2023, 06:01 PM
RE: Email and FTP no longer working - by rlebeau - 06-15-2023, 08:02 PM
RE: Email and FTP no longer working - by rlebeau - 06-19-2023, 10:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)