3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2017 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
14 * Module de compatibilite ascendante : desormais inc/envoyer_mail
16 * @deprecated Utiliser inc/envoyer_mail
17 * @package SPIP\Core\Mail
20 if (!defined('_ECRIRE_INC_VERSION')) {
24 if (!function_exists('envoyer_mail')) {
25 define('_FUNCTION_ENVOYER_MAIL', charger_fonction('envoyer_mail', 'inc'));
29 * @uses inc_envoyer_mail_dist()
30 * @deprecated Utiliser inc_envoyer_mail_dist() via charger_fonction()
32 function envoyer_mail() {
33 $args = func_get_args();
34 if (_FUNCTION_ENVOYER_MAIL
) {
35 return call_user_func_array(_FUNCTION_ENVOYER_MAIL
, $args);