Page 1 of 1

Default Mail Account - Function File

PostPosted: Wed Mar 19, 2003 5:58 am
by Jim Brammer
Please be aware of wordwrap in this message...


.Default Account
RegistryRead "HKEY_CURRENT_USER" "Software\Microsoft\Internet Account Manager\Default Mail Account" "[Default_Mail_Account]"

.SMTP Server
RegistryRead "HKEY_CURRENT_USER" "Software\Microsoft\Internet Account Manager\Accounts\[Default_Mail_Account]\SMTP Server" "[SMTP_Server]"

.SMTP Email Address
RegistryRead "HKEY_CURRENT_USER" "Software\Microsoft\Internet Account Manager\Accounts\[Default_Mail_Account]\SMTP Email Address" "[SMTP_Email_Address]"

.SMTP User Name
RegistryRead "HKEY_CURRENT_USER" "Software\Microsoft\Internet Account Manager\Accounts\[Default_Mail_Account]\SMTP User Name" "[SMTP_User_Name]"

.SMTP Display Name
RegistryRead "HKEY_CURRENT_USER" "Software\Microsoft\Internet Account Manager\Accounts\[Default_Mail_Account]\SMTP Display Name" "[SMTP_Display_Name]"