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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sending mail without opening the Outlook window

    Hello, I hope you can help me with this cos I am very bad programming:

    I got a web page that I want to protect with a password. I 've done it already but the thing that I want is that each time allowed people login to get into I get an email automactly telling me that someone has gone to the website protected.

    I've done it with an window.location = "mailto:"+document.pass.user.value+"?subject=......
    but it opens me the outlook window.

    Is there any other way to do it?

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    getting users to send you emails without them knowing is akin to virus writing. yes, you can do it on the client, but that's not wot permissable for the reason alluded to above.

    therefore, you're better doing this on the server, whereby a a remote script is called each time a user logs on, and thus the server sends you the email not the user's machine.

    depending on wot sort of server you're using, you're better to check out the PHP or ASP forums for the answer you seek.

    PM a Mod and they'll move this thread for you. don't cross post, that'll just waste time.

    good luck!


  •  

    Posting Permissions

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