The MAILWASREDIRECTED() function returns the was redirected status of the currently selected mail message.