View Full Version : Sending mail without opening the Outlook window

08-16-2004, 11:33 AM
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?

08-16-2004, 12:10 PM
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!