API: multiple forgot login emails

We are placing our studio application process online and have created a separate login page for the applicants. So, if the applicant needs to lookup their login information or forgot their password, we want to send them the same "forgot login email" but from a different email address than what is default in the api in addition to adding more text to the message. Can this be done?

  • Former Member
    Former Member $organization

    Hi Maria

    You could

    Set up a separate Studio organisation in tr_organization,

    And a separate set of MAIL _ defaults in T_Defaults for that organisation, including different forgot-pw  values

    (you would need to  remove the ones in the api web config,  and put your normal ones into t_defaults as well)

    – then your website would just need to set an organization_name session variable to match the Studio organisation, and it should pick up the different values.

     

    - one set of our MAIL entries in t_defaults look like this:

    SOH_WEB MAIL_BODY Your login details are below
    SOH_WEB MAIL_FROM bookings@sydneyoperahouse.com
    SOH_WEB MAIL_GREETING Dear Patron,
    SOH_WEB MAIL_LOGIN_LABEL Username
    SOH_WEB MAIL_PASSWORD_LABEL Password
    SOH_WEB MAIL_SIGNATURE Thank You.
    SOH_WEB MAIL_SUBJECT Account Information

     

    KEN MCSWAIN BUSINESS SOLUTIONS MANAGER

    KEN.MCSWAIN@SYDNEYOPERAHOUSE.COM