File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60041
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mailTo
 
Similar Threads
Insert HyperLinks at Email Body
HTML mailto attribute
mailto
HTML in Desktop.mail(URI)?
Question on mailto tag