>Thank you for the initial message and for update. Then I don't understand what the customer wants. Let me ask them to clarify.
In a client-server architecture, one side (the server) waits for requests. The other side (the client) makes these requests.
If you expect your program to be the SMTP server, that would mean that it would wait for OTHER programs to send their mails, and your program will process those requests.
I don't see the point in having Visual FoxPro do this; you would just be duplicating the functionality of lots of SMTP, that probably do a good job alread. In the different examples for use of E-Mail by Visual FoxPro, Visual FoxPro will be the CLIENT, i.e., it will either get a list of messages and fetch them (usually via the POP3 protocol), or send messages (via the SMTP protocol). In any case, Visual FoxPro (or any DLL invoked by Visual FoxPro) is the CLIENT, and that one doesn't need a fixed IP address. The actual SERVER will be some other program, which is probably none of your business as a Visual FoxPro programmer.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)