title: Access VBA - who has sendas permissions
body: <p>I have several users that will be sending emails out from an automated mail merge.  However, some of the emails need to be sent out from a group email account.  I found the <code>SentOnBehalfOfName</code> property and intend to assign this group email to it, but to cover my bases I need to make sure that their Exchange account has that capability.  (some do, and some don't).  Is there a way to check for this.  I'm guessing it's something like </p>
  
  <pre><code>If olMailItem.SendAs = true then
     olMailItem.SentOnBehalfOfName = "xyz@abc.com"
  end if
  </code></pre>