projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-0.9.17'
[platal.git]
/
bin
/
emails.broken.php
diff --git
a/bin/emails.broken.php
b/bin/emails.broken.php
index
982ddc7
..
d371854
100755
(executable)
--- a/
bin/emails.broken.php
+++ b/
bin/emails.broken.php
@@
-1,7
+1,7
@@
#!/usr/bin/php5 -q
<?php
/***************************************************************************
#!/usr/bin/php5 -q
<?php
/***************************************************************************
- * Copyright (C) 2003-200
7
Polytechnique.org *
+ * Copyright (C) 2003-200
8
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-23,7
+23,6
@@
ini_set('include_path', '.:../include:/usr/share/php');
require_once('connect.db.inc.php');
ini_set('include_path', '.:../include:/usr/share/php');
require_once('connect.db.inc.php');
-require_once('xorg.inc.php');
require_once('emails.inc.php');
require_once('../classes/plmailer.php');
require_once('emails.inc.php');
require_once('../classes/plmailer.php');
@@
-75,7
+74,7
@@
foreach ($emails as $_email) {
echo "$email : seule adresse active de {$x['prenom']} {$x['nom']}\n";
} else {
$mail = new PlMailer('emails/broken.mail.tpl');
echo "$email : seule adresse active de {$x['prenom']} {$x['nom']}\n";
} else {
$mail = new PlMailer('emails/broken.mail.tpl');
- $mail->addTo("\"{$x['prenom']} {$x['nom']}\" <{$x['alias']}@" . $globals->mail
s
->domain . '>');
+ $mail->addTo("\"{$x['prenom']} {$x['nom']}\" <{$x['alias']}@" . $globals->mail->domain . '>');
$mail->assign('x', $x);
$mail->assign('email', $email);
$mail->send();
$mail->assign('x', $x);
$mail->assign('email', $email);
$mail->send();
@@
-88,7
+87,7
@@
foreach ($emails as $_email) {
$list[$x['alias']][] = $email;
}
} else {
$list[$x['alias']][] = $email;
}
} else {
- echo "$email : cette ad
d
resse n'est pas dans la base\n";
+ echo "$email : cette adresse n'est pas dans la base\n";
}
}
}
}