Send attachments

Send attachments

hello there,


I have a form called invoice in which i add, for every record, an invoice number, the reason of this invoice, the amount, a file upload fieldin which i add the pdf of this invoice, and a flag field called "status"


Every record has a different pdf file.


I'd like to send, by clicking on a button, all these files that are not "sent" to an unique mail recipient (Always the same one)


Could you help me pls?


Thanks