Send invoice to multiple email IDs
There should be option to send Invoice to multiple eMail IDs. And a copy of mail should be sent to the Siwapp user also.
Pierrot Amey commented
This is nice to know but I would suggest to add an option in parameter, for exemple a check box to select to get a copy of sent invoice and particularely an estimate.
What is "User 1" in 'firstname.lastname@example.org' => 'user 1', . I putted my e-mail and I left "user 1. It's work but I see not interaction with the parameter 'user 1'. Should I modify it with a name?
Paul Richardson commented
until this becomes a very useful feature you can add CC users manually
within the /lib/EmailMessages.php file you can add the following lines and multiple users in the example below under the "Class InvoiceMessage extends SiwappMessage"
here is the example below
/** this variable indicates if the message is ready to be sent or not */
private $ready = false;
public function __construct($invoice)
'email@example.com' => 'user 1',
'firstname.lastname@example.org' => 'user 2'));
You can also add more if needed seperated by a comma above.
here is some more info here http://swiftmailer.org/docs/messages.html
LJ GUO commented
Yes,This is very useful function.
I need this feature. Thanks.