Jump to content
Sign in to follow this  
Mosquitos

Smtp server

Recommended Posts

Mosquitos

Hello is it possible to see your default smtp server from your provider in the registry?

Something like this....

$Smtp = RegRead.....

$objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $Smtp

Edited by Mosquitos

Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites
LxP

This probably won't help you but I don't believe there to be a 'default' SMTP server available to Windows. Outlook Express (which would be the closest thing perhaps) may have a value stored in the registry but keep in mind that more people avoid it each day for one reason or another. :whistle:

Probably your best bet would be to just ask for this information via an INI file or an InputBox().

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×