Send email by queue

#035809
This commit is contained in:
Raimon Esteve 2021-02-02 10:46:35 +01:00
parent 94d48d4a59
commit 08e959e63e
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Activity(metaclass=PoolMeta):
mimetype_mail = activity.create_mimetype(user)
# Create the mail
mail = ElectronicMail.create_from_mail(mimetype_mail,
user.mailbox)
user.mailbox, activity)
# Before to send, control if all mails are corrects
# If there are no user in main contact or in contacts, we creat And