I have written a servlets which sends mails using SmtpClient.But I want to send Hyperlinks in my mails.If I write some text like '@' or 'http://' in the body part of my mail ,that text is automatically converted into hyperlink.But, how to send hyperlinks without using '@' or 'http://'. regards Anil Reddy. ------------------ aaa
Joined: May 02, 2000
Mr. Carver,have you seen my question.If so please reply me.
I saw your message, but I don't understand what you are asking. If you have a link without a '@' or a 'http://', how will the recipient's system know what to link to? Can you give a more concrete example of what you need? This message, although in the Servlets/JSP forum, is really a Java Mail question (I Think), but we have no Java Mail forum at present.
The Content-Type in the header sent along with your email will need to change to text/html. By default the Content-Type is text/plain. Download JMail at http://www.jscape.com ... It supports this functionality. ------------------ JFind - Your Java Resource www.jfind.com