Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts

    How they do that?

    Code question, but I dunno how they did it, so...

    I just had a html email that contained a "contact us" link. I clicked it, and was taken to the "Compose reply" page of the webmail service I was using.

    How? How did they know the url of the page? How did they get it into the email body? Sorry if this is thick, but I'm confused.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    an URL would be good. so they signed you in and all, eh?
    redhead

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's done by the mail service rather than the sender, the sender will use a simple Mailto:
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Most web-based email services use query string parameters so they pass data on their links.

    If you use Yahoo, look at your address book. They set each email address as a link with a URL something like:

    http://xyz.mail.yahoo.com/ym/Compose?&To=somebody@somewhere.com

    So if you're sending an email to someone with an @yahoo.com address, you know you can embed a link like the above and just change the email address.
    Last edited by BrainJar; 01-19-2003 at 06:21 PM.


  •  

    Posting Permissions

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