Hi there

I travel a lot for my job and always take my laptop with me. At each location and each new network I have to change my smtp server settings manually.

So I got this idea. A button which gives me the option so select my location. After selecting my location (e.g. home, office, client etc) the right smtp server for my mailaccounts will be set.

Yet I can not find the right vb code to set the smtp server. Has anyone here got an idea for this code.

thanks