留言板

Need email sent to specific account, not user

M T,修改在12 年前。

Need email sent to specific account, not user

New Member 帖子: 2 加入日期: 11-11-22 最近的帖子
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.
thumbnail
Samir Gami,修改在12 年前。

RE: Need email sent to specific account, not user

Regular Member 帖子: 162 加入日期: 11-2-4 最近的帖子
I dont think there is any control panel setting for your requirement,
We can archive this by modifying the liferay code..... emoticon
thumbnail
Adolfo Benedetti,修改在12 年前。

RE: Need email sent to specific account, not user

Junior Member 帖子: 45 加入日期: 09-6-4 最近的帖子
M T,

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,修改在12 年前。

RE: Need email sent to specific account, not user

New Member 帖子: 2 加入日期: 11-11-22 最近的帖子
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.