|
|
|
@ -209,6 +209,7 @@ function settings_post(&$a) {
|
|
|
|
|
intval($mail_pubmail),
|
|
|
|
|
intval(local_user())
|
|
|
|
|
);
|
|
|
|
|
logger("mail: updating mailaccount. Response: ".print_r($r, true));
|
|
|
|
|
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1",
|
|
|
|
|
intval(local_user())
|
|
|
|
|
);
|
|
|
|
@ -731,7 +732,7 @@ function settings_content(&$a) {
|
|
|
|
|
'$mail_ssl' => array('mail_ssl', t('Security:'), strtoupper($mail_ssl), '', array( 'notls'=>t('None'), 'TLS'=>'TLS', 'SSL'=>'SSL')),
|
|
|
|
|
'$mail_user' => array('mail_user', t('Email login name:'), $mail_user, ''),
|
|
|
|
|
'$mail_pass' => array('mail_pass', t('Email password:'), '', ''),
|
|
|
|
|
'$mail_replyto' => array('mail_replyto', t('Reply-to address:'), '', 'Optional'),
|
|
|
|
|
'$mail_replyto' => array('mail_replyto', t('Reply-to address:'), $mail_replyto, 'Optional'),
|
|
|
|
|
'$mail_pubmail' => array('mail_pubmail', t('Send public posts to all email contacts:'), $mail_pubmail, ''),
|
|
|
|
|
'$mail_action' => array('mail_action', t('Action after import:'), $mail_action, '', array(0=>t('None'), /*1=>t('Delete'),*/ 2=>t('Mark as seen'), 3=>t('Move to folder'))),
|
|
|
|
|
'$mail_movetofolder' => array('mail_movetofolder', t('Move to folder:'), $mail_movetofolder, ''),
|
|
|
|
|