Help PLEASE with Email problem

jennie_1951
09-01-2003, 08:33 AM
I have looked through the forum and can't find what I am looking for.

I have a project that is a customer file (Access Database) which allows a user to input a website URL and an email address for a customer.

The URL portion is working great, the user can click on the hyperlink to the URL and their default browser automatically starts the default browser and goes to the website.

The problem I am having is getting the Email setup so when the user clicks on it, the action starts the default email clent and puts the customer's email address in the "TO" box so the user doesn't have to type in the address. They need to be able to simply click on the email address and have the program take care of the connection.

Thank you for any help in pointing me in the right direction.

Jenn

Thinker
09-01-2003, 08:50 AM
If you can get a web url to work, using mailto:emailaddresshere should
work identically. Are you doing this in Access VBA or from VB6? What
command are you using to open the url in the webbrowser?

jennie_1951
09-01-2003, 09:05 AM
If you can get a web url to work, using mailto:emailaddresshere should
work identically. Are you doing this in Access VBA or from VB6? What
command are you using to open the url in the webbrowser?

I am doing this through VB6, I have the field in access set to Hyperlink and the program appends the simple email address to "mailto:" when it writes to the database so the database shows "mailto:email@server.extension" underlined and highlighted in blue, however, on display if you click on the link, it does nothing.

Thank you,

Jenn

Thinker
09-01-2003, 09:17 AM
You also have to have a mail client set up on the computer too. Just as
it has to be able to open a default webbrowser, it has to be able to open
a default mail client.

jennie_1951
09-01-2003, 10:04 AM
You also have to have a mail client set up on the computer too. Just as
it has to be able to open a default webbrowser, it has to be able to open
a default mail client.

I am trying to test this on my computer which has a mail client that it should be able to open. It starts the email client (Outlook) and places the email address in the "TO" area whenever I try to access any other email address outside the program.

Do I have to set some instructions in VB to access the mail client? OR could you point me in the direction of any article that will show me the basics on how to set this up ?

Thank you for your advise and assistance.

Jenn

Thinker
09-01-2003, 10:22 AM
I did originally ask what command you were using to execute the mail
url. I use the ShellExecute API function and it opens OE.

jennie_1951
09-01-2003, 10:46 AM
I did originally ask what command you were using to execute the mail
url. I use the ShellExecute API function and it opens OE.

Thinker - You are awesome - Thank you,

Jenn

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum