cancel
Showing results for 
Search instead for 
Did you mean: 

Mail not sent (not even processed)

JC83
Confirmed Champ
Confirmed Champ

Hi,

I'm trying to have a dev server which is sort of copy of the production  one but in community edition : same database (a copy) and same date (a copy).

I'm using the docker version of the 7.4 and I set in the alfresco-global.properties all the parameter (which are the same in the production server) ..

Well, to test I did a rule that send an email each time a document is created in a dir .. And it's not working. I don't have any error in log, any traffic on the 25 port, any mail ..

Do you have any idea of what I'm doing wrong ?

 

 

mail.host=sender.ooooo.fr
mail.port=25
mail.username=
mail.password=
mail.protocol=smtp
mail.smtp.auth=false
mail.smtp.timeout=10000
mail.smtp.starttls.enable=false
mail.smtp.debug=true
mail.encoding=UTF-8
mail.from=noreply@ooooo.fr
mail.testmessage.send=true
mail.testmessage.to=me@adrr.com
mail.testmessage.subject=TEST MESSAGE FROM ALFRESCO@ooooo.fr
mail.testmessage.text=god is dead

 

1 ACCEPTED ANSWER

JC83
Confirmed Champ
Confirmed Champ

HI,

I have found by myself .. 

In the default docker-compose.xml that I had there was :

-Ddev.email.not.sent=true

which appears to disable mail to be sent

So I just put 

-Ddev.email.not.sent=true

and .. voila !

 

View answer in original post

2 REPLIES 2

LeoMattioli
Employee
Employee

Hi,

some mail server has a whitelisted IP configuration: have you tried installing a fake smtp server on the alfresco server to double check if the email is not sent?

Or you can try sending an email via script/powershell from the server where Alfresco is installed.


Leo Mattioli - Technical Account Manager @Hyland.

JC83
Confirmed Champ
Confirmed Champ

HI,

I have found by myself .. 

In the default docker-compose.xml that I had there was :

-Ddev.email.not.sent=true

which appears to disable mail to be sent

So I just put 

-Ddev.email.not.sent=true

and .. voila !