SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Location
    Dhaka, Bangladesh
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Email notification

    I Have a hare link and I want to a notification by my email address when visitor will click on that share link that subject will be "Link is clicked by someone". anybody can give me some code for this please...

    Thanks
    kjaman

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Have you had a look for yourself? We're not just going to "give" you the code. That would be like doing your work for nothing!

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by kjaman View Post
    I Have a hare link and I want to a notification by my email address when visitor will click on that share link that subject will be "Link is clicked by someone".
    You will want to either:

    • use Ajax, to call a server-side script (PHP, ASP, etc...) which does the mailing for you
    • or call a serverside script with the appropriate link as a parameter, which will email you and then redirect to the appropriate link


    In both cases, there is no javascript that does the emailing. Javascript cannot do any emailing for you.

    I suggest that you investigate using a server-side script (not JavaScript) instead.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Tags for this Thread

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
  •