Foren
Need email sent to specific account, not user
M T, geändert vor 12 Jahren.
Need email sent to specific account, not user
New Member Beiträge: 2 Beitrittsdatum: 22.11.11 Neueste Beiträge
There are 3 emails sent from Liferay for these purposes:
Account Created Notification
Password Changed Notification
Password Reset Notification
Surely there is a way to have Liferay send these messages to one specified account on a mail server and not the user email directly?
Thanks in advance.
Account Created Notification
Password Changed Notification
Password Reset Notification
Surely there is a way to have Liferay send these messages to one specified account on a mail server and not the user email directly?
Thanks in advance.
Samir Gami, geändert vor 12 Jahren.
RE: Need email sent to specific account, not user
Regular Member Beiträge: 162 Beitrittsdatum: 04.02.11 Neueste Beiträge
I dont think there is any control panel setting for your requirement,
We can archive this by modifying the liferay code.....
We can archive this by modifying the liferay code.....
Adolfo Benedetti, geändert vor 12 Jahren.
RE: Need email sent to specific account, not user
Junior Member Beiträge: 45 Beitrittsdatum: 04.06.09 Neueste Beiträge
M T,
You can use/modify the SendMailHook with your configs into your portal-ext.properties or ROOT.xml depending on your Liferay version
You can use/modify the SendMailHook with your configs into your portal-ext.properties or ROOT.xml depending on your Liferay version
mail.hook.impl=com.liferay.mail.util.SendmailHook
mail.mx.update=true
mail.hook.sendmail.add.user=...
mail.hook.sendmail.change.password=...
mail.hook.sendmail.delete.user=.....
mail.box.style=mail/
mail.username.replace=true
passwords.allow.dictionary.word=false
mail.junk-mail.warning.size=512000
mail.trash.warning.size=512000
......
M T, geändert vor 12 Jahren.
RE: Need email sent to specific account, not user
New Member Beiträge: 2 Beitrittsdatum: 22.11.11 Neueste Beiträge
This looks like a way to control a mail server for modifying users and more which I don't want to do. I want all emails liferay generates to be sent to a specific email account. No direct messages sent to any users that part is handled by a process already in place.