Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APEX_UTIL.RESET_PW - Email Message Formatting

aschultzNov 14 2015 — edited Nov 16 2015

Hi

I am currently using a PL/SQL process to call a procedure that uses APEX_UTIL.RESET_PW to reset user passwords.  Though I've been able to customize the email message in some sense, I can't seem to find the answer for defining the subject line, to field, from field, and how to edit the default body email content that ships with it.


For my code example, I'm using:

l_body :='Hi

A password reset request has been submitted for your account.

Please login to your account with this temporary password.  After you login, you will be prompted to change your password.  If the password reset request was not made by you, please contact us immediately so we can address the issue.

Thank you,

Bob

If you would like to unsubscribe, please click on the link below:

%%UNSUBSCRIBE%%      ';

APEX_UTIL.RESET_PW('SCHULTZ', l_body);


However the email message contains the subject line of:  Password Reset Notification

and the message body of:


Hi

A password reset request has been submitted for your account.

Please login to your account with this temporary password.  After you login, you will be prompted to change your password.  If the password reset request was not made by you, please contact us immediately so we can address the issue.

Thank you,

Bob

If you would like to unsubscribe, please click on the link below:

(unsubscribe link)

Username:  SCHULTZ

Password:  93hdU6

1.)  How should I go about changing the subject line to something less generic?  For example:  Password Reset Notification for X System on '|| Sysdate ||'


2.)  How can I move the username and password information around in my email body so that it doesn't appear at the way bottom of the email?  For example:

Hi

A password reset request has been submitted for your account.

Please login to your account with this temporary password.:

Username:  SCHULTZ

Password:  93hdU6

After you login, you will be prompted to change your password.  If the password reset request was not made by you, please contact us immediately so we can address the issue.

Thank you,

Bob

If you would like to unsubscribe, please click on the link below:

(unsubscribe link)

3.)  Is there anyway to make the temporary password longer than 6 characters?



Thank you so much Oracle Apex Forum

~Andrew




Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 14 2015
Added on Nov 14 2015
4 comments
1,682 views