We want to add code to our site that will auto allow logged in web application users into squirrel mail.

Example:

https://domainname.com/webmail/src/redirect.php?login_username=<? echo $store_row['ncpa_number']; ?>