Click to See Complete Forum and Search --> : getting the sender's email address
LuigiX
10-11-2003, 08:21 PM
Hi
I've built a form in Frontpage which will be used on the company Intranet.
When the form is transmitted as email, is it possible to populate the "From" field of the email with the user's login ID??
Cheers
Luigi
First of all frontpage is not the recommended wysiwyg html editor(i recomend Dreamweaver mx 2004 which costs $399 which if your company is big enough it shouldn't be too much).
And secondly don't you have a database or book or something with all of the staff ids and email adresses that match? Don't you send emails to everyone in the company at times?
If i haven't adressed the problem correctly please tell me wht you ment in more detail.
LuigiX
10-11-2003, 11:30 PM
I'm not interested in debating the merits of DW vs Frontpage. I have to use Frontpage - end of story.
Secondly I think you've missed the point of the question. I am sending a form by email and want to populate the "From" field of the email that is sent onsubmit with the user's login.
I'm sure there are people out there who understand this question and can help.
Can I do this in javascript?
Cheers
Luigi
Im sure its possible with javascript i just don't know how. You'd be better of using a serverside program. What email system are you using?
AdamGundry
10-12-2003, 12:09 PM
Javascript cannot, as far as I know, get the user's login name, and allowing it would be a serious security lapse. You would get the email address if you were using a client-side email form (with a mailto: action) but that is not really a good solution.
Adam