title: Sending email with Javamail via imap
body: <p>The convention with using JavaMail seems to be:
  -- Use smtp for sending emails
  -- Use imap (or pop) for reading emails .. </p>
  
  <p>For our applications purposes, I reckon it is more useful to use an email client protocol (imap specifically) to send emails .. and ensure copies of all sent mail make into the 'Sent' folder of gmail or whatever mail account used.  </p>
  
  <p>Note, the primary point of the email connection is just to send mails, not to read or poll emails.</p>
  
  <p>Would like opinions/suggestions/examples from others who have used imap for sending emails from their java apps.  All posts appreciated.</p>