* Test a sending of a simple message
*/
@Test
public void testSendMessage() {
final GmailClient client = new ImapGmailClient();
final GmailConnection connection = new ImapGmailConnection();
connection.setLoginCredentials(conf.getGmailCredentials());
if (conf.useProxy() && (connection instanceof ProxyAware)) {
((ProxyAware) connection).setProxy(
conf.getProxyHost(), conf.getProxyPort());
((ProxyAware) connection).setProxyCredentials(
conf.getProxyCredentials());