Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2004
    Thanked 0 Times in 0 Posts

    Internet Explorer send e-mail through mailto protocol, url length

    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..

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Thanked 0 Times in 0 Posts
    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,

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Thanked 256 Times in 252 Posts
    You can develop email applications using JavaMail API

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts