This is due to security features built into the underlying OS. On most operating systems, attempting to bind to a port less than 1024 causes a Error event to fire with an error number 107 unless the application is running with administrative permissions. The Password to use to log into the SMTP server. This example specifies that the TCPSocket will use the first Network Interface on the user's computer. If you wish to send broadcast packets out, then you should not bind to a specific interface because the behavior is undefined. The behavior is OS-dependent it appears to work on Windows but not on other supported operating systems. In the case of UDPSockets, if you assign a non- Nil value, the socket may not be able to receive broadcast messages. Leaving this property set to Nil will use the currently selected interface. You can get the network interface(s) of the user's computer by calling the GetNetworkInterface method of the System module. Specifies which network interface the socket should use when binding. AppendHeader ( "X-Mailer", "SMTP Test" ) // send the email Socket1. Password = "" // populate the email message mail = New EmailMessage mail. Var mail As EmailMessage // set up the socket Socket1. Reporting bugs and making feature requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |