# Sending multiple email

**URL:** https://discuss.tryton.org/t/sending-multiple-email/4446
**Category:** Ideas
**Created:** [July 22, 2021, 8:26am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446 "2021-07-22T08:26:51Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![osloar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/osloar/32/599_2.png) [@osloar](https://discuss.tryton.org/u/osloar)
#### Post date: [July 22, 2021, 8:26am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/1 "2021-07-22T08:26:51Z")

</div>

Hello, I wanted to propose an improvement that I do not know if it is possible. The idea is as follows: in the list of invoices or sales to be able to select several invoices or sales and to be able to send or forward them by email without having to do it one by one.

Thank you

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 22, 2021, 8:31am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/2 "2021-07-22T08:31:26Z")

</div>

But there is no guarantee that all the records must have the same destination.  
I think it will be error-prone to allow such behavior.

Indeed I think it will be better to use email notification and have [Re-send email notification](https://discuss.tryton.org/t/re-send-email-notification/386) feature.

---

<div class="post-metadata">

### Author: ![osloar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/osloar/32/599_2.png) [@osloar](https://discuss.tryton.org/u/osloar)
#### Post date: [July 22, 2021, 11:16am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/3 "2021-07-22T11:16:08Z")

</div>

In my case, which is the reason why I speak, I have clients who have many sales or several invoices from the same client (20 - 30 sales for example) and they find that they have to press as many times as sales. I have thought of automating the process that when validating is sent automatically, but the client later wants to claim debts from all the sales and would like to be able to resend everything at once or even if he has several sales made, send them all at once to all the clients.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [July 22, 2021, 11:46am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/4 "2021-07-22T11:46:28Z")

</div>

So, if I understand correctly you want to send one email with 20 - 30 reports as attachment?

I think you have to create a own custom module for that with an wizard. You select a whole list of sales or invoices and start the wizard. This will group the records based on the party and send each party one email with all the report of each records as attachment.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 22, 2021, 11:50am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/5 "2021-07-22T11:50:54Z")

</div>

> [@osloar](#):
>
> I have thought of automating the process that when validating is sent automatically

You can do that with `notification_email`.

> [@osloar](#):
>
> but the client later wants to claim debts from all the sales

This is the job of `account_dunning` module.

> [@osloar](#):
>
> send them all at once to all the clients

This will be doable with `notification_email` if [Re-send email notification](https://discuss.tryton.org/t/re-send-email-notification/386) is implemented.

---

<div class="post-metadata">

### Author: ![osloar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/osloar/32/599_2.png) [@osloar](https://discuss.tryton.org/u/osloar)
#### Post date: [July 23, 2021, 9:39am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/6 "2021-07-23T09:39:13Z")

</div>

But the idea is: if I have 30 invoices / sales selected that I can send them all at once (to each party with their email from the file) and not one by one.

For example, where I worked before, we were generating delivery notes and at the end of the month all delivery notes that have been generated were selected and sent.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [July 23, 2021, 9:59am UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/7 "2021-07-23T09:59:24Z")

</div>

> [@osloar](#):
>
> we were generating delivery notes and at the end of the month all delivery notes that have been generated were selected and sent.

Why generating them manually (and at the end of the month) while they can be directly sent automatically when the delivery note is sent?

---

<div class="post-metadata">

### Author: ![osloar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/osloar/32/599_2.png) [@osloar](https://discuss.tryton.org/u/osloar)
#### Post date: [July 28, 2021, 2:32pm UTC](https://discuss.tryton.org/t/sending-multiple-email/4446/8 "2021-07-28T14:32:55Z")

</div>

I know that it can be sent when generating the delivery note or when accounting, but not all clients are the same and not all work in the same way.

That is why I comment on the possibility of being able to select several sales or invoices and when pressing send all the marked ones are automatically sent.

Thanks
