|
|
@ -25,6 +25,16 @@ else { |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Linux / UNIX ? |
|
|
|
|
|
|
|
if(getenv("USER") != "") { |
|
|
|
|
|
|
|
var path_sep = '/'; |
|
|
|
|
|
|
|
var path_profile = getenv("HOME"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// Windows ? |
|
|
|
|
|
|
|
else { |
|
|
|
|
|
|
|
var path_sep = '\\'; |
|
|
|
|
|
|
|
var path_profile = getenv("USERPROFILE"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Compte local |
|
|
|
// Compte local |
|
|
|
<?php echo PREF;?>("mail.account.account1.server", "server1");
|
|
|
|
<?php echo PREF;?>("mail.account.account1.server", "server1");
|
|
|
@ -55,6 +65,7 @@ $server = 2; |
|
|
|
$accountlist = 'account1'; |
|
|
|
$accountlist = 'account1'; |
|
|
|
$identities = '' |
|
|
|
$identities = '' |
|
|
|
?> |
|
|
|
?> |
|
|
|
|
|
|
|
|
|
|
|
// Compte personnel |
|
|
|
// Compte personnel |
|
|
|
<?php echo PREF;?>("mail.account.account2.server", "server<?php echo $server?>");
|
|
|
|
<?php echo PREF;?>("mail.account.account2.server", "server<?php echo $server?>");
|
|
|
|
<?php echo PREF;?>("mail.server.server2.hostname", "<?php echo IMAP_SERVER; ?>");
|
|
|
|
<?php echo PREF;?>("mail.server.server2.hostname", "<?php echo IMAP_SERVER; ?>");
|
|
|
@ -77,7 +88,7 @@ defaultPref("mail.identity.id<?php echo $id; ?>.fcc_folder", "imap://<?php echo |
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.draft_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Drafts");
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.draft_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Drafts");
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.stationery_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Templates");
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.stationery_folder", "imap://<?php echo $uid; ?>@<?php echo IMAP_SERVER; ?>/Templates");
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.attach_signature", true);
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.attach_signature", true);
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.sig_file-rel", "[ProfD]../../../../../signature/email.html");
|
|
|
|
defaultPref("mail.identity.id<?php echo $id; ?>.sig_file", path_profile+path_sep+"signature"+path_sep+"email.html");
|
|
|
|
<?php |
|
|
|
<?php |
|
|
|
//$accountlist .= ',account' . $account; |
|
|
|
//$accountlist .= ',account' . $account; |
|
|
|
$identities .= ',id' . $id; |
|
|
|
$identities .= ',id' . $id; |
|
|
|