Found some sample code that directly uses winsock to send a simple SMPT email message, but there's one line I'm not sure how to define. The code starts:
Sub...
WinSock1.RemoteHost = strEmailServer
Winsock1.RemotePort = 25
Winsock1.Connect
...
If a separate server isn't being used, and one is just sending mail directly from their home desktop, would strEmailServer then just be the local computer name? Or does RemoteHost specifically look for a remote server and I need to use a different property for a "local" machine?
Sub...
WinSock1.RemoteHost = strEmailServer
Winsock1.RemotePort = 25
Winsock1.Connect
...
If a separate server isn't being used, and one is just sending mail directly from their home desktop, would strEmailServer then just be the local computer name? Or does RemoteHost specifically look for a remote server and I need to use a different property for a "local" machine?