title: Sending email programmatically on a Mac using Java (through Mac Mail Client)
body: <p>I've done quite a bit of research on this matter and I can't seem to come up with a solid solution to my problem.</p>
  
  <p>I am developing a Java client application that (should) allow users to import their contacts from Mac Address Book by fetching them in a list format and allowing the user to select a subset/all and click a button that would send an "invitation" to these users.</p>
  
  <p>I was able to grab contacts using the Rococoa Java framework but I am uncertain as to how to send email or if it is even possible. I realize there are security concerns with this, but I was able to accomplish this same task on Outlook for PC.</p>
  
  <p>It seems that I may have to call an Applescript from my Java that manually opens Mac Mail Client and sends email using their default mail account setup.</p>
  
  <p>I could be totally off-base here... should I even bother sending mail through the user's default Mail account? I wanted to avoid using a different mail server to avoid spam etc.</p>
  
  <p>Any help would be appreciated, thank you for your time.</p>
  
  <ul>
  <li>Matt</li>
  </ul>