Using Java and mailto to create an email

G

Goo

Hi. Looking for some advice.

I have a simple javascript that gathers email from a HTML form and then
upon the submit button click, it opens a default mail window with
"mailto" and inserts some text and form field data, etc, in the body of
the email.

My only problem is, in Outlook, my default message settings are to
insert a stationary background and signature file.

But whenever I run the javascript and use the mailto command, it won't
invoke my default email settings or use the HTML background, etc.

Any advice?

Thanks.
 
T

Timo Stamm

Goo said:
Hi. Looking for some advice.

I have a simple javascript

JavaScript has absolutely nothing to do with Java. You are asking in the
wrong groups.

that gathers email from a HTML form and then
upon the submit button click, it opens a default mail window with
"mailto" and inserts some text and form field data, etc, in the body of
the email.

My only problem is, in Outlook, my default message settings are to
insert a stationary background and signature file.

But whenever I run the javascript and use the mailto command, it won't
invoke my default email settings or use the HTML background, etc.

Any advice?

I doubt *very* much that you can change this.

In fact, even subject and body are not standardized in "mailto:" URLs
and you don't have any guarantee that the mail client will support it.
It is likely that some users will click on your form and end up with an
empty new mail message with only the recipient address filled in.


(f'up2 comp.infosystems.www.authoring.html)

Timo
 
R

Rhino

Goo said:
Hi. Looking for some advice.

I have a simple javascript that gathers email from a HTML form and then
upon the submit button click, it opens a default mail window with
"mailto" and inserts some text and form field data, etc, in the body of
the email.

My only problem is, in Outlook, my default message settings are to
insert a stationary background and signature file.

But whenever I run the javascript and use the mailto command, it won't
invoke my default email settings or use the HTML background, etc.

Any advice?
Yes. Ask your question on a javascript newsgroup, like comp.lang.javascript.
Java and JavaScript, despite the similar names, have nothing to do with one
another.
 
R

Roedy Green

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top