**DONOTDELETE**
(Lurker)
2004-07-27 03:06 PM
read/write smtp & pop config for outlook

if you need to connect your user's to smtp and/or pop, here's the reg key's you wanna change. This small script will read the users outlook config setings, and apply the changes stated in the script.
I've added a couple of extra's if you wanna 'remove deleted mail upon exit' & 'leave mail on server'. you can switch both of these 1/0.
The xxx.xxx.xxx.xxx = your mail server IP address.


$Entry = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager", "Default Mail Account")

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\$ENTRY", "SMTP Server","xxx.xxx.xxx.xxx","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\$ENTRY", "POP3 Server","xxx.xxx.xxx.xxx","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\$ENTRY", "Leave Mail On Server","1","REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\$ENTRY", "Remove When Deleted","1","REG_DWORD")

hope its useful for some of yeh


otf
(Getting the hang of it)
2004-07-27 03:07 PM
Re: read/write smtp & pop config for outlook

should have logged in first eh!

Les
(KiX Master)
2004-07-27 03:33 PM
Re: read/write smtp & pop config for outlook

Eh! Our first Anonymous user.

LonkeroAdministrator
(KiX Master Guru)
2004-07-27 03:45 PM
Re: read/write smtp & pop config for outlook

and a thoughtfull one too!

JochenAdministrator
(KiX Supporter)
2004-07-27 04:10 PM
Re: read/write smtp & pop config for outlook

well, at least we don't get scammed and spammed for now

Kdyer
(KiX Supporter)
2004-07-27 04:55 PM
Re: read/write smtp & pop config for outlook

Cool!

Added to the Outlook FAQ as a new section:
SMTP/POP3: Outlook Configuration

Kent


otf
(Getting the hang of it)
2004-07-27 05:01 PM
Re: read/write smtp & pop config for outlook

a shucks

LonkeroAdministrator
(KiX Master Guru)
2004-07-28 04:23 PM
Re: read/write smtp & pop config for outlook

as you put it in faq, I think you should explain there a little what's it for.

Kdyer
(KiX Supporter)
2004-07-28 04:52 PM
Re: read/write smtp & pop config for outlook

Me kind of confused.. If somebody is going to setup a POP3 Acct, they should know what the SMTP/POP3 settings are.

Kent


otf
(Getting the hang of it)
2004-07-29 11:16 AM
Re: read/write smtp & pop config for outlook

true, true
but
we deny access to most menu features in Outlook that give access to these settings. The reg settings are implemented incase someone manages to overwrite them. It also makes it quicker to set up x number of accounts if you can skip the IP entries part.


LonkeroAdministrator
(KiX Master Guru)
2004-07-29 01:59 PM
Re: read/write smtp & pop config for outlook

sure you are confused.
and I believe so is someone looking for script to put up their user's profiles.
they implement this piece even thought they have no idea what it does. just because it's in the faq. unexplained.


darrenbang
(Just in Town)
2016-03-01 06:52 AM
Re: read/write smtp & pop config for outlook

Hope this will help you.... Outlook Settings

Darren


NTDOCAdministrator
(KiX Master)
2016-03-01 06:38 PM
Re: read/write smtp & pop config for outlook

You do know you're replying to a post that is now 12 years old. @darrenbang

Arend_
(MM club member)
2016-03-02 10:26 AM
Re: read/write smtp & pop config for outlook