I'd like to add to a desk application (C++Builder) running under W7 pro, the
possibility for the user to send emails from this program. The TSmtpCli
component is very convenient for that purpose, but the Smtp Server is not
very easy to find, when it exists, in the register.

You don't need to know the SMTP server of the company ! ICS SMTP client is able to send emails directly to the recipient SMTP server and you can use the ICS DNSQuery component to lookup for the SMTP server handling a given email address. You extract the domain from the address (what is after the at sign) and use it to query the "MX Record" using the ICS DNSQuery component which returns a list of SMTP servers for the domain (one or more).

Please note that many SMTP server won't accept email comming from a dynamically allocated IP address.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to