Good day.

I am trying to construct a mailto: url that will include the specific domain name or if possible the previous url from which a mail is sent from.

I want to use this as an error report so that when an error is encountered by a person browsing the web... That they can click on the mailto: link that appears on the "error page" and that they only need to submit the mail.

Thus the string needs to populate all required information

<a href="mailto:error@bizstarters.co.za?subject=BizStarters error report&body=URL?>">Please report this to the webmaster</a>

Any input will greatly be appreciated!

Francois

Is this a question about using the Java programming language (not Javascript)?