Advanced Search

Results 1 to 2 of 2

Thread: HTML web page email problem

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML web page email problem

    Here is my situation:
    I am creating a webpage for my School and ive learned how to use the link tags, but when I click on a link to email (<a href="mailto:Email@ISP.com">), outlook express always starts up. now I dont want my School's website visitors to go through configuring outlook or whatever their default mailclient is, any suggestions on an alternative? Please take me step by step to help me if you decide to as I am still learning and this site is kind of for a final grade. here is the basic link code that I have that wants to direct me to outlook express.

    [code]<ul type="square"><b><h3>
    <li><a href="final2.htm">Dorms<a/></li>
    <li><a href="final3.htm">Staff</a></li>
    <li><a href="CareerServices.htm">Career Services</a></li>
    <li><a href="final4.htm">Event Pics</a></li>
    <li><a href="final5.htm">Student Senate</a></li>
    <li><a href="Quiz7.htm">BITS Form</a></li>
    <li><a href="BITSTeam.htm">BITS Team</a></li>
    <li><a href="mailto:MYEMAIL@yahoo.com">Email us</a><?P?> </li>
    </ul>[code]

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,621
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    mailto: uses the default email client of whatever computer is clicking on it, usually Outlook in the case of a Windows system. There's no way to change this except visiting every user's home and reprogramming their computers with a different email client.

    The alternative is using web-based email, and it really is worth it. You'll need a server-side language configured to do this (for example, PHP with mail() enabled). Basically, you build a contact form and set the action="" attribute to your email script. A quick search for "free PHP email script" should turn up some examples.

    Edit: BTW, what is this:
    Quote Originally Posted by droppinplates84
    Code:
    <li><a href="mailto:MYEMAIL@yahoo.com">Email us</a><?P?> </li>
    ?
    We Only Torture the Folks We Don't Like (You're Probably Gonna Be Okay)
    It's a Party in the CIA

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •