using new email address from the account

This commit is contained in:
Ralf Becker 2004-08-01 17:09:39 +00:00
parent 5fe5cadf8a
commit 5ba2db92de

View File

@ -76,12 +76,10 @@
if ($_POST['test'])
{
$prefs = $GLOBALS['phpgw']->preferences->create_email_preferences();
if (!$async->set_timer($times,'test','admin.uiasyncservice.test',$prefs['email']['address']))
if (!$async->set_timer($times,'test','admin.uiasyncservice.test',$GLOBALS['phpgw_info']['user']['email']))
{
echo '<p><b>'.lang("Error setting timer, wrong syntax or maybe there's one already running !!!")."</b></p>\n";
}
unset($prefs);
}
if ($_POST['cancel'])
{