Manually Changing Inbox SMTP Server addresses using the registry

CESD-C-0030

Applies To:

  • Windows CE 2.0
  • Handheld PC Professional
  • HPC2000
  • Windows CE .net 4.0, 4.1, 4.2
  • Windows CE 5.0

Overview:

Increasingly Internet Service Providers (ISP's) are relying upon IP netblock filtering for access to their STMP server. For mobile device users, roaming away from high speed home DSL connections, or forced onto a different dial-up service while on the road. The SMTP filtering renders Pocket Outlook Inbox unable to transmit email onto the SMTP system. This guide outlined how to manually change the SMTP settings for Inbox account using the registry.


More Info:

The impetus of this article is to suggest using importable .reg files to toggle between different ISP's and / or unauthenticated SMTP servers. The registry changes can be made ad-hoc using a registry editor if required, however for convenience the article assumes that the use is creating .reg files for import into the registry viewer.

 

WARNING: If you use a Registry Editor incorrectly, you may cause serious problems that may require you to hard reset your Handheld PC back to its factory installed configuration. Edit your Windows CE registry at your own risk.

Please note that the formatting for the .reg files used in this article is designed for use with Tascal RegEdit (TRE). The header line used by other Windows CE registry editors may differ.

Example 1: Two roaming e-mail accounts

The following example outlines a .reg file prepared for use with a dial-up ISP and two email accounts. The values printed in italics must be substituted with the exact configuration names for the E-mail accounts configured in Inbox, and for the Dial-up profile configured through Remote Networking.
NB: The DialHP line is only required on Hewlett Packard Handheld PC's

Copy the template information below into a text editor and save as a .reg file. Once you have populated the field information, import the data via your Handheld PC's registry editor and test the SMTP relay capabilities through Inbox.

REGEDIT4

[HKEY_LOCAL_MACHINE\PMail\ServiceInfo\Mail_Account_1]
"SvcSMTPHost"="smtp.ISP1.com"
"SvcProfile"="Used_Dial-up_Connection"

[HKEY_LOCAL_MACHINE\PMail\ServiceInfo\Mail_Account_2]
"SvcSMTPHost"="smtp.ISP1.com"
"SvcProfile"="Used_Dial-up_Connection"
 
[HKEY_CURRENT_USER\Software\HP\DialHP\Default]
"SPName"="Used_Dial-up_Connection"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000

 

Example 2: A LAN connection

In this example, the Handheld PC is returned to the home / corporate network. The SMTP server must be changed to match that of the ISP, or the internal corporate SMTP server

REGEDIT4

[HKEY_LOCAL_MACHINE\PMail\ServiceInfo\Mail_Account_1]
"SvcSMTPHost"="smtp.LAN"
"SvcProfile"="Network Connection"

[HKEY_LOCAL_MACHINE\PMail\ServiceInfo\Mail_Account_2]
"SvcSMTPHost"="smtp.LAN"
"SvcProfile"="Network Connection"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000

Acknowledgements:

With thanks to Pavel Žampach for working with us on this article.