title: How Can I put a HTML link Inside an email body?
body: <p>I have an application thats can send mails, implemented in Java. I want to put a HTML link inside de mail, but the link appears as normal letters, not as HTML link...
  How can i do to inside the  HTML link into a String? I need special characters? thank you so much</p>
  
  <p><strong>Update:</strong>
  HI evereybody! thanks for oyu answers! Here is my code:</p>
  
  <pre><code>public static boolean sendMail(Properties props, String to, String from,
            String password, String subject, String body)
  {
      try
      {
          MimeBodyPart mbp = new MimeBodyPart(); 
          mbp.setContent(body, "text/html"); 
          MimeMultipart multipart = new MimeMultipart(); 
          multipart.addBodyPart(mbp); 
  
  
  
          // Preparamos la sesion
          Session session = Session.getDefaultInstance(props);
  
          // Construimos el mensaje
          MimeMessage message = new MimeMessage(session);
          message.setFrom(new InternetAddress(from));
          message.setContent(multipart);
          message.addRecipient(
                  Message.RecipientType.TO,
                  new InternetAddress(to));
          message.setSubject(subject);
          message.setText(body);
  
          // Lo enviamos.
          Transport t = session.getTransport("smtp");
          t.connect(from, password);
          t.sendMessage(message, message.getAllRecipients());
  
          // Cierre.
          t.close();
          return true;
      }
      catch (Exception e)
      {
          e.printStackTrace();
          return false;
      }
  }
  </code></pre>
  
  <p>And here the body String:</p>
  
  <pre><code>        String link = "&lt;a href=\"WWW.google.es\"&gt;ACTIVAR CUENTA&lt;/a&gt;";
  </code></pre>
  
  <p>But in the received message the link appears as  the link string, not as HTML hyperlink! I don't understand what happens...</p>
  
  <p>Any solution?</p>