fix to-other cc-self issue when using gmail smtp

Remove extra transaction when sending to & cc since a separate transaction only necessary for bcc.
This fixes an issue where sending to another address and CC-ing yourself would cause the message to NOT go into your inbox when using Google's SMTP.  This seems to be a bug in Google's smtp, but doing a single transaction for both to and cc fixes the issue (not to mention making it more efficient)
bug #526 fix to-other cc-self issue when using gmail smtp (baohx2000)

This PR was merged into the 5.2-dev branch.

Discussion
----------

fix to-other cc-self issue when using gmail smtp

Remove extra transaction when sending to & cc since a separate transaction only necessary for bcc.
This fixes an issue where sending to another address and CC-ing yourself would cause the message to NOT go into your inbox when using Google's SMTP.  This seems to be a bug in Google's smtp, but doing a single transaction for both to and cc fixes the issue (not to mention making it more efficient)

Commits
-------

4498fed fix to-other cc-self issue when using gmail smtp