This function will begin by determining whether the address is in X500 or X400 format. Once this has been ascertained, the function will then determine the Organization Name.
Note: The fields must follow the address type standards for the functions to operate on them.
Parameter
address - The address of the sender/recipient (String data type).
Return value
String value.
Examples
ExchGetOrganization("c=US ;a= ;p=Jinfonet; o=apps-wga; dda:ms=com/jreport/Jenny") - Returns "Jinfonet".ExchGetOrganization("c=US ;a= ;p=Jinfonet; o=apps-wga; dda:smtp=Jenny@jinfonet.com") - Returns "Jinfonet".