Missing something in my html code for an mailto: email

Discussion in 'HTML & Website Design' started by Roger2705, Oct 27, 2012.

  1. #1
    Hi guy's,

    Is anyone can help me for the code below, I might have done something wrong, but can't find it! I want customer to be able to send me their email address which I should receive to the MAILTO: INFO@....
    but it does not work, anyone can figure it out for me would be great!?
    thanks a lot.
    (It's an under construction page, www.uplrealestate.com


    form>
    <input type="text" value="your@email.com" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;"></a>
    <input type="submit" value="Subscribe"><a href="mailto:eek:ffice@..............com"></a>
    </form>
     
    Roger2705, Oct 27, 2012 IP
  2. knewedge

    knewedge Active Member

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #2
    knewedge, Oct 27, 2012 IP
  3. Host Volt

    Host Volt Greenhorn

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    15
    #3
    As knewedge suggested, you'll need to use PHP for this to work. Mailto creates an email link, which will open the users default email client for the user to write their own email.

    But for your case, you'll need to use the PHP mail function which knewedge already said :)
     
    Host Volt, Oct 28, 2012 IP
  4. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #4
    There is sooooooooo much wrong with everything you've posted...... Sending email is the least of your issues.
     
    workingsmart, Oct 28, 2012 IP