title: JavaMail with Spring - Missing Imports
body: <p>I am getting a </p>
  
  <blockquote>
    <p>The import cannot be resolved</p>
  </blockquote>
  
  <p>error for the following imports,</p>
  
  <pre><code>import org.springframework.mail.MailSender;
  import org.springframework.mail.SimpleMailMessage;
  </code></pre>
  
  <p>I have the following libraries in the classpath, but I not sure which jar file has the above-mentioned imports. Does anybody have any idea?</p>
  
  <pre><code>     org.springframework.aop-3.1.1.RELEASE.jar
       org.springframework.asm-3.1.1.RELEASE.jar
       org.springframework.beans-3.1.1.RELEASE.jar
       org.springframework.context-3.1.1.RELEASE.jar
       org.springframework.core-3.1.1.RELEASE.jar
       org.springframework.expression-3.1.1.RELEASE.jar
       org.springframework.jdbc-3.1.1.RELEASE.jar
       org.springframework.orm-3.1.1.RELEASE.jar
       org.springframework.web-3.1.1.RELEASE.jar
  </code></pre>