留言板

Edit template of notification mail while doing user creation via jsonws

Shibu K V,修改在10 年前。

Edit template of notification mail while doing user creation via jsonws

New Member 帖子: 7 加入日期: 13-9-6 最近的帖子
I consumed /user/add-user jsonws for user creation in Liferay. The mail is going to the new users. The mail doesn't contains any details like user name or password. Where I can edit that mail template?

The default "Account Creation Notification" in Portal settings is not the one considering here.

Can any one pls help me to find out the template using here while creating users via consuming jsonws....
thumbnail
Corné Aussems,修改在10 年前。

RE: Edit template of notification mail while doing user creation via jsonw

Liferay Legend 帖子: 1313 加入日期: 06-10-3 最近的帖子
Hi Shibu ,
This is the realm of the awesome translators tribe emoticon

In order to get a reply it is better to post it in a related category like one of these here

Since it relate to language here you go;
https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties#L8552-L8555
thumbnail
subhash lamba,修改在10 年前。

RE: Edit template of notification mail while doing user creation via jsonw

Regular Member 帖子: 136 加入日期: 13-7-7 最近的帖子
Hi..
You can change mail templates using
Portal Settings->Email Notification option->Account Create Notification Tab.
Change Template from there.
I think this will help you.

Why are you saying Account Create Notification not consider here??
Shibu K V,修改在10 年前。

RE: Edit template of notification mail while doing user creation via jsonw

New Member 帖子: 7 加入日期: 13-9-6 最近的帖子
Hi subhash lamba ,

The mail template in Portal Settings->Email Notification option->Account Create Notification is taking only when I add a user from Liferay UI from User and Organizations screen. The problem comes when I create user by consuming jsonws for user creation. At that time the mail comes in a different format as follows.
Dear ann,
Welcome! You recently created an account at http://localhost.
Sincerely,
Employee Portal
admin@employeeportal.com
http://localhost

It doesn't contains the username and password info.