View Full Version : send e-mail through mailto protocol, url length

04-28-2004, 08:45 AM
My requirement is:

I have to send e-mail where:

1. the bcc field contains upto 1000 mail ids

2. and the body of the email is content of a html/text file (file is in the client machine).

3. I have to do it in javascript/jsp.

The problem am facing right now is:

1. am trying to open the html/text file using window.open(html/text file) and then using childwindow.document.body.innerText as the body of e-mail.

Here the mailto protocol url length has been a constraint, so that only a part of the text is displayed as the content of the email..

Is there any other solution to this or any solution to my code ? Can you please help me out of this problem?

Thanks in Advance..

04-28-2004, 08:49 PM
I wonder since you're allowed to use JSP that you should use it!

I don't understand how your interface is setup, like are you making a webmail type application or what?

I'd say just treat these things like text fields and textareas and post it to your JSP, and let JSP create the email and send the email suing the mailto protocol.

You can ask these types of questions in the other server-side forum as there are some JSP wizzes over there.

Good luck,

04-29-2004, 07:48 AM
You can develop email applications using JavaMail API (http://java.sun.com/products/javamail/)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum