Sorry for my english My problem is this, I open the manager OS Prefinished mails and charge information in the body. For that use the MailTo html and body SETTING but if the body is very long URL exceeds the limit and I do not open anything. Any possible solution to my problem? Any way to create a vaadin txt and attach the mail could also serve.
Asked
Active
Viewed 305 times
1 Answers
1
You are hitting the limits of the mailto URL - basically, the maximum length of any mailto URL is around 2000 characters; this is not a Vaadin limitation, but a browser one. See this similar SO question for more details
You cannot create an email on the "client " longer than that, at least not via a mailto url.
The only alternative that I am aware of is to create and send the email from the web-application itself, i.e. on the server side, using SMTP/JavaMail API
That does assume that
- You have an SMTP server to send mail via
- You don't haven't got an "open" application that allows anyone to send an email (e.g. could your application be open to sending spam)

Community
- 1
- 1

Charles Anthony
- 3,155
- 17
- 21
-
Thanks Charles, sap that was the problem but was not sure if there was a solution to it, the problem is that my client wants to open the default mail handler with inside info. I'll have to talk with. thank you very much – Mikel Arbide Sep 25 '12 at 14:12