dcsimg
Problem with link in text email using javamail
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, May 27, 2008 03:51 AM

Hi,   The problem I am having is with a link in an text e-mail sent using javamail. If the address is too long for the text e-mail, it gets cut in half. The address is say 2 lines long so when it reaches the end of the first line, that is all you get for the link. The second line is not included in the link.   I know I can set the mail to HTML and encode it that way but I prefer using text mails to ensure all users can view them. An example of my problem is below: http://www.test.com/testurllink/site/detail.jsp?l=&op=1&se=search &type=all&location=all&min=0&max=123 when it should come out like: http://w   More>>

Hi,



  The problem I am having is with a link in an text e-mail sent using javamail. If the address is too long for the text e-mail, it gets cut in half. The address is say 2 lines long so when it reaches the end of the first line, that is all you get for the link. The second line is not included in the link.



  I know I can set the mail to HTML and encode it that way but I prefer using text mails to ensure all users can view them. An example of my problem is below:



http://www.test.com/testurllink/site/detail.jsp?l=&op=1&se=search


&type=all&location=all&min=0&max=123



when it should come out like:



http://www.testurllink.com/test/site/detail.jsp?l=&op=1&se=search&type=all&location=all&min=0&max=123




Any ideas???



Is it possible to have link for entire url, even if it is break up in to two lines?


above links neither will work. It's just a sample.


Thanks in advance,
Sateesh

   <<Less
About | Sitemap | Contact