I have added the clause to the code, but now I keep receiving these two error messages as shown in the images I've attached here:
Simply add that unit to the uses clause in your code, same as any other Pascal unit you want to use things from, eg:
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
IdExplicitTLSClientServerBase, IdSMTP, IdMessage, IdSSL, IdSSLOpenSSL;
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[/quote]