Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-16-2004, 10:33 AM   PM User | #1
niggle
New to the CF scene

 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
niggle is an unknown quantity at this point
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?
niggle is offline   Reply With Quote
Old 08-16-2004, 11:10 AM   PM User | #2
jbot
Senior Coder

 
Join Date: Feb 2004
Location: Edinburgh
Posts: 1,352
Thanks: 0
Thanked 0 Times in 0 Posts
jbot is an unknown quantity at this point
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!
jbot is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:18 AM.


Advertisement
Log in to turn off these ads.