# Pydio does not send sharing invitation emails

**URL:** https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328
**Category:** Pydio Cells
**Created:** [June 12, 2023, 12:17pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328 "2023-06-12T12:17:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jaimedelano](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/jaimedelano/32/2342_2.png) [@jaimedelano](https://forum.pydio.com/u/jaimedelano)
#### Post date: [June 12, 2023, 12:17pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/1 "2023-06-12T12:17:17Z")

</div>

For first post, please answer the questions below!

### Describe your issue in detail

Pydio does not send sharing invitation emails.  
Steps to reproduce: select file, click Share / Public link / Send invitation (email icon)

### What version of Cells are you using?

Cells Home v4.2.2

### What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

Server: AlmaLinux 8.7, MariaDB 10.3  
Client: Windows 11, Firefox 114

### What steps have you taken to resolve this issue already?

I have confirmed that the error is not in the mail server (Sendgrid).  
I can send, for example, password recovery emails.

---

<div class="post-metadata">

### Author: ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)
#### Post date: [June 12, 2023, 1:20pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/2 "2023-06-12T13:20:12Z")

</div>

did you make sure that the user you send invitation to does have an “email” defined?

---

<div class="post-metadata">

### Author: ![jaimedelano](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/jaimedelano/32/2342_2.png) [@jaimedelano](https://forum.pydio.com/u/jaimedelano)
#### Post date: [June 12, 2023, 1:38pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/3 "2023-06-12T13:38:58Z")

</div>

Entering an email address or choosing an user with email profile field set: in neither case is the email sent.

---

<div class="post-metadata">

### Author: ![jaimedelano](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/jaimedelano/32/2342_2.png) [@jaimedelano](https://forum.pydio.com/u/jaimedelano)
#### Post date: [June 13, 2023, 11:44am UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/4 "2023-06-13T11:44:59Z")

</div>

Apparently the email queue is not processed.  
I mean, email messages are added to queue, but Pydio doesn’t start sending the emails.

2023-06-13T08:38:21.513-0300 DEBUG pydio.grpc.mailer SendMail: pushing email to queue {“to”: [{“Uuid”:“**“,“Address”:"xxx@gmail.com”,“Name”:“mylogin”,“Language”:“pt-br”}], “from”: {“Uuid”:"**”,“Address”:“drive@domain.name”,“Name”:“administrador”}, “subject”: “administrador está compartilhando uma pasta com você”, “SpanRootUuid”: “ **", “SpanParentUuid”: "** ”, “SpanUuid”: “\*\*\*\*”}

---

<div class="post-metadata">

### Author: ![jaimedelano](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/jaimedelano/32/2342_2.png) [@jaimedelano](https://forum.pydio.com/u/jaimedelano)
#### Post date: [June 16, 2023, 7:32pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/5 "2023-06-16T19:32:04Z")

</div>

I have fixed it.  
Solution:  
Step 1: move pydio.grpc.mailer service from boltdb to mongodb  
Step 2: add **the missing** task **flush-mailer-queue** to the **jobs\_jobs** collection

---

<div class="post-metadata">

### Author: ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)
#### Post date: [June 23, 2023, 2:05pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/6 "2023-06-23T14:05:54Z")

</div>

insteresting - there is no reason why the flush-mailer-queue was not there, maybe you have accidentally removed it?  
In 4.2.3 we add a “cells admin clean reset-jobs” command allowing to re-insert such a default job to their “factory” settings.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)
#### Post date: [July 4, 2023, 8:06pm UTC](https://forum.pydio.com/t/pydio-does-not-send-sharing-invitation-emails/5328/7 "2023-07-04T20:06:20Z")

</div>

This topic was automatically closed 11 days after the last reply. New replies are no longer allowed.
