|
|
|
FSUID New Forwarding Utility
03/19/2008
The FSUID web page is updated today for the JES email forwarding.
A new page, emialForwardJes.jsp, is added to handle the JES email forwarding. This page only can be open when fsuEduJesStatus=* and the value is NOT "requested", "in progress", or "deleted".
Some old email related web pages are removed. They are the JES Email Upgrading page, the Fire2 Email Forwarding page, the Fire2 Email Vacation page, and the Fire2 Email Deactivate page.
Below is Breeze's email about details for the JES email forwarding web page:
Back before JES, there was a tool within FSUID where people could forward their CARS accounts (garnet/mailer) and also their @fsu.edu addresses. As we moved to JES, we moved away from this tool and let the JES folks use the tool that came in JES webmail to do their forwarding.
Well, now I'd like to take a step back and redo the tool in FSUID so that people can change their JES forwarding with FSUID. The reasons for this are two-fold.
1) It would be nice to have this central to FSUID since people are used to doing this and other things within FSUID and
2) We need for people to be able to change their forwarding when they no longer have JES accounts and only have email-forwarding-for-life.
I think the best way to handle this is if Dongmei does the webpage in FSUID and sends data back to a CARS PL/SQL function and then I will handle the details from there (sending it to JES and modifying the actual forwarding). That way, it gets the benefit of the CARS queuing and you guys don't have to worry about the hairy details of actually setting the forwarding, I will have to write that part.
So, here's the info/logic for the FSUID part.
* Any FSUID that has an fsu.edu account should be able to access this tool. This would be all FSUIDs with fsuEduJesStatus=*
* It be accessed within FSUID under Change Options -> "Email Forwarding" (to replace the existing forwarding link/tool) and under the Email Address List -> JES account -> Maintenance column (replacing the info about setting up forwarding within webmail).
* It should look very similar to the Forwarding tool that is in Webmail. (http://webmail2.fsu.edu -> Options -> Mail -> Settings -> Forwarding if you want to take a look).
[box] Enable forwarding
[box] Do not leave copy on server
Email address: [input] Add
Mail Forwarding list: [textarea] Remove
If the user has mailDeliveryOption=forward, then the "Enable Forwarding" box should begin checked.
If the user has mailDeliveryOption=mailbox, then the "Do not leave copy on server" should begin unchecked.
If the user has fsuEduJesStatus=forwardonly, then the "Do not leave copy on server" should be checked and greyed out (cannot uncheck it).
If the user has any values for mailForwardingAddress, then those should start out in the "Mail Forwarding List" text area.
Note, the user would have to have both mailForwardingAddress'es AND mailDeliveryOption=forward in order for forwarding to be enabled.
Nothing happens if you only have one of those conditions met.
* The CARS function that you should call for this tool is:
CARS_UTILS.JESFORWARDING(SESSION_ID, FSUID, ENABLED, NOCOPY, ADDR_LIST, OUT_MSG)
• ENABLED would be either "CHECKED" or "UNCHECKED". "CHECKED" if Enable forwarding is checked, "UNCHECKED" if it is unchecked.
• NOCOPY would be "CHECKED" or "UNCHECKED". "CHECKED" if "Do not leave copy on server" is checked, "UNCHECKED" if it is unchecked.
• ADDR_LIST would be a string of comma-separated email addresses. It is possible for ADDR_LIST to be empty, if the user is disabling forwarding. In this case, just send an empty string and it will be handled correctly. You probably also want to have error checking in the webpage to make sure that ADDR_LIST is not empty if ENABLED=CHECKED.
• OUT_MSG can be up to 200 characters long. It will be a string that describes the error, or '0' if there are no errors.
* You won't have to do major error checking in the webpage itself, I plan on doing some of that on my end. But some basic checking of the email addresses would be a good idea. Make sure it's in email address format (.*@.*) and is not a @fsu.edu, @garnet or @mailer address.
Thanks,
Breeze
|