Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine the SMTP server programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00844632
Message ID:
00844739
Views:
17
>When sending messages with Winsock you usually pass SMTP server name or IP to the procedure. Was it your question?
>
>In case you want to retrieve this from Outlook Express settings -- this is Windows Registry:
>
>HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts\...

Thank you, Anatolyi. BTW I had looked in your useful News2News but didn;t find it there. Thanks.

In case it may help others, this is what I found:

1) HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Default Mail Account contains the internal name of the default mail account.

2) HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts\xxxxx\SMTP Server contains the SMTP Server name, where xxxxx is the internal name found in step 1

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform