Avoid Breaking "To" E-mail When Sending Invoice

When sending an invoice, the list of destinataries are formatted by the extension to comply with RFC822. The problem is CiviCRM also does this when actually sending the e-mail, which causes the e-mail to fail with some SMTP services.

Fixed by adding a new class that handles the sending of the e-mail, where we don't re-format the e-mails to RCF822 again.

Edited by Camilo Rodríguez

Merge request reports