I have to develop a javamail code and m facing the following problem....
When a user fills-up an online-form, an automated mail goes to the authorized person, this means i can hardcode the "TO address", but the "FROM" address should be the userid of the MS outlook configured on the clients system, ie clients outlook userid...
How can i do this....
Can somebody help me in solving this problem?
if you use JavaMail, you cannot "automagically" retrieve the Outlook user id, because the mail is not send via Outlook.
You have to retrieve the FROM address in the form, that means the user has to fill in some field with his email address or "Outlook-ID".