Yes it is possible with a lot of code lines
See this site
http://vbnet.mvps.org/
Maybe you like this page also
http://www.rondebruin.nl/cdo.htm
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"djExcel" wrote in message ...
Is it possible to read the name of the SMTP server in VBA?