cancel
Showing results for 
Search instead for 
Did you mean: 

EMail Notification for the Newly Created users using UME API

Former Member
0 Kudos

Hi ,

In my application ,the user creation is handled by custom Admin module which uses the UME APIs. Upon creating the user, we need to send a notification mail to the user's email id which he provided in the Add new user form.

<b>Is there any direct APIs available to notify the user via email. I hope the Standard user creatin module in User Administration also uses the same UME APIs.</b>

Please let me know the possibilities.

Appreciate your help.

<b><b>Sample Code:</b>

<b>IUserFactory mUserFact = UMFactory.getUserFactory();

IUserMaint mUserMaint = mUserMaint = mUserFact.newUser(aUser.getLogin());

IUserAccountFactory mAccountFact =UMFactory.getUserAccountFactory();

IUserAccount portalAccount = null;

mUserMaint.setDisplayName(aUser.getLogin());

mUserMaint.setXXX();

mUserMaint.save();

mUserMaint.commit();

portalAccount = mAccountFact.newUserAccount(aUser.getLogin(), mUserMaint.getUniqueID());

mAccount.setPassword("XXXXXX");

aUser.setPassword(mPassword);

mAccount.save();

mAccount.commit();</b></b>

Thanks and Regards,

Sekar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I have used the Java Mail API directly send the notification upon new user creation.

Thanks and Regards,

Sekar