Commit 7aa3e9bb authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Enhancing email configuration.

parent ec05b7cb
Pipeline #51421 passed with stages
in 18 minutes and 30 seconds
......@@ -735,7 +735,11 @@ class Upload(Proc):
'',
'your data %suploaded at %s has completed processing.' % (
'"%s" ' % self.name if self.name else '', self.upload_time.isoformat()), # pylint: disable=no-member
'You can review your data on your upload page: %s' % self.gui_url
'You can review your data on your upload page: %s' % self.gui_url,
'',
'If you encouter any issues with your upload, please let us know and replay to this email.',
'',
'The nomad team'
])
try:
infrastructure.send_mail(
......
......@@ -30,3 +30,9 @@ volumes:
tmp: /nomad/fairdi/coe/fs/tmp
coe_extracted: /nomad/fairdi/coe/fs/extracted
nomad: /nomad
mail:
enabled: "true"
host: 'mailrelay.mpcdf.mpg.de'
port: 25
from: 'webmaster@nomad-repository.eu'
......@@ -30,3 +30,9 @@ volumes:
tmp: /nomad/fairdi/coe_staging/fs/tmp
coe_extracted: /nomad/fairdi/coe_staging/fs/extracted
nomad: /nomad
mail:
enabled: "true"
host: 'mailrelay.mpcdf.mpg.de'
port: 25
from: 'webmaster@nomad-repository.eu'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment