my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes mailTo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "mailTo" Watch "mailTo" New topic
Author

mailTo

R.Joe
Ranch Hand

Joined: Jun 16, 2004
Posts: 31
How i use mailto command with large amount of body content more than 2020 character

syntax
mailto: ?subject=welcome&body=

please help me out
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
thats a JavaScript question. You should post it in the "HTML / Javascript" forum.

Probably it just does not work or is browser dependant...

pascal
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Moving...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can't, it is a limit of the browser with the size of the url. Use a serverside language to do the mailing with post.

Eric
R.Joe
Ranch Hand

Joined: Jun 16, 2004
Posts: 31
basically i want to fetch the data from the text field and then mail it
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

What are you using on the server side? This is easy to accomplish with the JavaMail API if using Java.
[ November 13, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mailTo