Sprim / HM2-Web

0 stars 0 forks source link

Emailer - Editing a user profile to a HCP does not send the mail to the user after the HCP access is activated by the admin #50

Open shanthasprim opened 10 years ago

shanthasprim commented 10 years ago

Steps To Reproduce:

  1. Go to Health Multiplex "http://test.sprim-health.com/" Url.
  2. Log-in with an Existing HM Id as a user.
  3. Click on the Profile name and select 'Profile' from the drop down.
  4. Select 'HCP' from the 'User Account Type'. changeusertype_hcp
  5. Enter the details of the HCP in the opened 'About Your Practice' page and click the 'Save' button.

    Actual Result:

The page is loaded with a message saying that "Successfully created HCP accout. Please check your email for follow up". But Email is not sent. hcp_new

Expected Result:

The page should be loaded with a message saying that "Successfully created HCP accout. Please check your email for follow up" and a Email should be sent to the user ID after the admin 'Activates' the user as a HCP.

Precondition:

  1. A HM user should have already registered.
  2. Admin should activate the user account for HCP after the user registers for the same.
shanthasprim commented 10 years ago
  1. An Email is sent when the user changes his account as HCP from the Web by entering his/her details.

The mail content as below is sent.


Hi There, Your HCP account has been created. An email sent to the Administrator to verify and activate your HCP account. You can access your HCP privillages once activated until surf the user section http://test.health-multiplex.com/

Sincerely, Health Multiplex Team


Check the spelling error for 'privillages' in the above mail content also.

  1. As per the above mail content, the user will be waiting for the Admin to activate his/her account so, a mail should be sent to the user that his/ her request for the HCP access is activated now from the Admin. So Reopening the issue.