You are correct - I am trying to be "outlook like" - but for a very specific and narrow task.
The SMTPSocket Class is an SMTP Mail Transfer Agent (MTA) client. Outlook does a huge number of things and is, perhaps, a poor example.
I want my applications to leverage my remote web server to send a message from my hosted email address to the user.
What is the easiest way to do this?
The easiest way is to use the SMTP Socket class to transfer the message to an MTA which will accept it. Due to the proliferation of spam mail on the internet, virtually all MTAs require the client to authenticate in some way or other.
FYI: I am able to do this from my web-based CGI app using RealStudio; now I just want to do it from the user's PC.
Most hosted web servers have an MTA configured to accept processes running on the same physical box as authentic. Whether you can use the MTA on your web server remotely, will depend on whether it allows remote processes (connections) to authenticate.
The easiest way to send mail from an RB app is to plug into the SMTPSocket class, the same MTA details used by other mail clients which successfully send mail from the same PC. If there is no mail client and no suitable MTA is known of, you could use a publicly accessible MTA, such as g-mail. Neither of those methods meets your requirement to send via your own web server though.
The SMTPSocket class is compliant with several MTA authentication schemes but it does depend on configuring the SMTPSocket to authenticate the way the MTA requires it to. Authentication might be as simple as connecting from a known IP address, it might use the AUTH protocol in plain text or encrypted, it may use a combination of these schemes. It all depends how the MTA has been configured.