PDA

View Full Version : Email Links


jasmine
10-10-2006, 10:38 PM
I have links to people's individual emails on a website I built, but I keep getting an error message when I test them. When I try clicking on the links in IE, it says that the default email server could not be located. And in FF, it says nothing. Which means it's probably mucking up in other browsers too...Why is this happening? Did I link it wrong?

You can have a look at the page:
http://www.abforest.com/contactus.html

domedia
10-11-2006, 12:27 AM
Your code is set up right. Your operating system however is not. mailto is a function sent to the OS making it using your default email application, which it seems you don't have :-/ .. maybe someone more into OS' can help you out.

Most other people will have no problem using your website to send email. The better solution is to use a server side script instead:
http://www.dreamweaverclub.com/dreamweaver-php-form.php

jasmine
10-11-2006, 03:04 PM
Hummm...I was not aware of that! So other people can use it, but I can't? Do I leave the existing code and add this other code?

domedia
10-11-2006, 04:03 PM
You can do both if you want to, have an email link and a form.

Jittor
10-11-2006, 05:37 PM
Jasime

Most people have AOL, Outlook, or Thunderbird on their computer, which in turn is identified as the default email program. I clicked on the "Sales Manager" link and it pulled up my Thunderbird. So, essentially it works...if you have a default email program. Since you don't have one set up on your computer you can see first hand what is happening when a user clicks on the link and they don't have one either. I would do what Dom said and set up a form page as well. Dom as well as others and I would recommend using .php for your form that way you don't have to worry about a default email program. I usually suggest having the "contact us" or the email links go to a form as well (For example your "Sales Manager" link would go straight to a form) This way you never have to worry about a default mail program and users don't feel like they are giving away their email address - which most don't like to do causing you to loose feedback, help questions, clients, sales, or more.

There is a tutorial on .php forms on the home page., but here is the link as well: http://www.dreamweaverclub.com/dreamweaver-php-form.php