Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    3
    Thanks
    0
    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
    Posts
    1,206
    Thanks
    0
    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,
    Sadiq.

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    You can develop email applications using JavaMail API
    Glenn
    ____________________________________

    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
    •