oops! misread your post. See this link for for sending email via outlook:
http://www.jephens.com/200
Main Topics
Browse All TopicsHi there,
I have a form in my access 2003 database wich allows me to send email thru CDO.
The form contains a configuration page to hold the email configuration settings suchs as the smtp server,
smtp port, authentication yes or no and if needed a username and password for the server.
I would like to know how to read the emailserver configuration from ms outlook or equavilent email client.
I suppose these values are stored in the windows registry but i'm not sure.
The most wanted solution is a command button to read these settings and put them in the right field on the config page.
Can some point me in the right direction?
Many thanx in advance,
Gijsbert Sonnevelt
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
oops! misread your post. See this link for for sending email via outlook:
http://www.jephens.com/200
see this link for downloadable demo mdb's for E-Mail (cdo and outlook)
(scroll down approx 3 pages)
http://www.utterangel.com/
Hi Puppydogbuddy,
My question is'nt about sending emails form MS Access, i have allready covered this subject.
I'm using CDO to cover this. What i'm looking for is a function to determine is there's an MS Outlook or Outlook Express profile exisisting on the computer. When there is such a profile on the computer i would like to import the smtp server settings such as the smtp server, the smtp port, is the smtp server using authentication and in that case the username and password for the authentication.
I want to store these values in text boxes on a from.
Gijsbert
OK,
The two functions (OutlookNewMail and DoesFileExist), when used in conjunction with one another, have the stated purpose of opening a new blank Outlook email if Outook exists on the machine sending the email. The DoesFileExist function tests the default install paths that would be used for the various versions of Outlook.
I need to research further on how to extract the smtp mail server settings from the machine.
The best thing I have found on the smpt component so far is Ostrosoft's freeware product (with source code). It is fully SMTP RFC-compliant and provides support for basic authentication,
binary (MIME) attachments and HTML email. Follow this link:
http://www.ostrosoft.com/s
I personally don't know of any way to "read" the mail server settings per se. However, if your email client supports the pop3 protocol for outgoing mail and the smtp protocol for incoming mail , there are "standard" settings associated with each different mail server program as shown in this link:
http://www.on-line.com/Ema
You should be able to update your table using the settings supplied in the link, then use the settings listed in the table to manage the mail on the email server from your ms outlook or ms outlook express email client software.
Business Accounts
Answer for Membership
by: puppydogbuddyPosted on 2009-11-06 at 04:29:31ID: 25758510
Two examples, the first one using late binding (preferred for developers), and the othe uses early binding. http://www.ffdba.com/downl oads/Send_ E-Mail_Wit h_CDO.htm
ccess/late binding.ht m
This link explains the binding methods and why late binding is preferred for deployed applications.
http://www.granite.ab.ca/a