git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12628
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- No longer store all message composition sessions in the PHP session,
since it was not made use of and in rare cases, made sessions too big
- Composition restoration functionality now correctly restores attachments
+ - Added smtp_auth hook
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
$user = $username;
$pass = sqauth_read_password();
}
+
+ // plugin authors note: override $user or $pass by
+ // directly changing the arguments array contents
+ // in your plugin e.g., $args[0] = 'new_username';
+ //
+ do_hook('smtp_auth', $temp=array(&$user, &$pass));
}