mehdi2405
16/08/2014, 15h59
bonjour
comment faire pour mettre les infos en gras ?
ou bien faire un mail html si possible
Merci
comment faire pour mettre les infos en gras ?
ou bien faire un mail html si possible
Merci
almiron écrivait :
alors désolé je vois pas...
[root@www ovhm]# ls -l
total 152
-rw-r--r-- 1 root root 369 aoû 8 2001 acl_security.pl
-rwxr-xr-x 1 root root 1733 sep 12 00:26 ajouter_alias.cgi
-rwxr-xr-x 1 root root 1399 sep 12 00:26 alias.cgi
-rw-r--r-- 1 root root 1938 jun 2 10:55 Changelog
-rwxr-xr-x 1 root root 650 sep 12 00:26 check_version.cgi
-rw-r--r-- 1 root root 1536 déc 23 2003 commun.css
-rw-r--r-- 1 root root 0 aoû 8 2001 config
-rw-r--r-- 1 root root 0 aoû 8 2001 config.info
-rwxr-xr-x 1 root root 2805 sep 12 00:26 creer_bdd.cgi
-rwxr-xr-x 1 root root 8339 sep 12 00:26 creer.cgi
-rwxr-xr-x 1 root root 2079 sep 12 00:26 creer_sousdomaine.cgi
-rwxr-xr-x 1 root root 1040 sep 12 00:26 effacer_alias.cgi
-rwxr-xr-x 1 root root 2493 sep 12 00:26 effacer_bdd.cgi
-rwxr-xr-x 1 root root 4809 sep 12 00:26 effacer_domaine.cgi
-rwxr-xr-x 1 root root 1850 sep 12 00:26 effacer_sousdomaine.cgi
-rwxr-xr-x 1 root root 2732 sep 12 00:26 fast-index.cgi
-rwxr-xr-x 1 root root 1881 sep 12 00:26 formulaire_creer_domaine
.cgi
drwxrwxr-x 2 root root 4096 mai 17 18:39 help
drwxr-xr-x 2 root root 4096 déc 23 2003 images
-rw-r--r-- 1 root root 2192 sep 12 00:26 index.cgi
drwxr-xr-x 2 root root 4096 jun 10 14:51 lang
-rw-rw-r-- 1 root root 18109 déc 26 2001 LICENSE
-rw-r--r-- 1 root root 1394 sep 12 00:26 lister_domaines.cgi
-rwxr-xr-x 1 root root 6538 sep 12 00:26 modifier.cgi
-rw-r--r-- 1 root root 97 mar 6 2002 module.info
-rw-r--r-- 1 root root 10975 jan 26 2004 ovhmlib.pm
-rwxr-xr-x 1 root root 1198 sep 12 00:26 restart.cgi
-rwxr-xr-x 1 root root 4128 sep 12 00:26 save_modifier.cgi
drwxr-xr-x 4 root root 4096 aoû 8 2001 skel
[root@www ovhm]# ls -l
total 152
-rw-r--r-- 1 root root 369 aoû 8 2001 acl_security.pl
-rwxr-xr-x 1 root root 1733 sep 12 00:26 ajouter_alias.cgi
-rwxr-xr-x 1 root root 1399 sep 12 00:26 alias.cgi
-rw-r--r-- 1 root root 1938 jun 2 10:55 Changelog
-rwxr-xr-x 1 root root 650 sep 12 00:26 check_version.cgi
-rw-r--r-- 1 root root 1536 déc 23 2003 commun.css
-rw-r--r-- 1 root root 0 aoû 8 2001 config
-rw-r--r-- 1 root root 0 aoû 8 2001 config.info
-rwxr-xr-x 1 root root 2805 sep 12 00:26 creer_bdd.cgi
-rwxr-xr-x 1 root root 8339 sep 12 00:26 creer.cgi
-rwxr-xr-x 1 root root 2079 sep 12 00:26 creer_sousdomaine.cgi
-rwxr-xr-x 1 root root 1040 sep 12 00:26 effacer_alias.cgi
-rwxr-xr-x 1 root root 2493 sep 12 00:26 effacer_bdd.cgi
-rwxr-xr-x 1 root root 4809 sep 12 00:26 effacer_domaine.cgi
-rwxr-xr-x 1 root root 1850 sep 12 00:26 effacer_sousdomaine.cgi
-rwxr-xr-x 1 root root 2732 sep 12 00:26 fast-index.cgi
-rwxr-xr-x 1 root root 1881 sep 12 00:26 formulaire_creer_domaine.cgi
drwxrwxr-x 2 root root 4096 mai 17 18:39 help
drwxr-xr-x 2 root root 4096 déc 23 2003 images
-rw-r--r-- 1 root root 2192 sep 12 00:26 index.cgi
drwxr-xr-x 2 root root 4096 jun 10 14:51 lang
-rw-rw-r-- 1 root root 18109 déc 26 2001 LICENSE
-rw-r--r-- 1 root root 1394 sep 12 00:26 lister_domaines.cgi
-rwxr-xr-x 1 root root 6538 sep 12 00:26 modifier.cgi
-rw-r--r-- 1 root root 97 mar 6 2002 module.info
-rw-r--r-- 1 root root 10975 jan 26 2004 ovhmlib.pm
-rwxr-xr-x 1 root root 1198 sep 12 00:26 restart.cgi
-rwxr-xr-x 1 root root 4128 sep 12 00:26 save_modifier.cgi
drwxr-xr-x 4 root root 4096 aoû 8 2001 skel
Shogin écrivait :
[B]code:--------------------------------------------------------------------------------
#Ici une modification qui permet de revenir en Mo
$quotasMo=$quotas/1000;
print SENDMAIL "From: vous\@votredomaine.com
print SENDMAIL "From: vous\@votredomaine.com";
if ($email && open (SENDMAIL,"| $sendmail")) { print SENDMAIL <
#Ici une modification qui permet de revenir en Mo $quotasMo=$quotas/1000; if ($email && open (SENDMAIL,"| $sendmail")) { print SENDMAIL "To: $email\n"; #Attention la ligne From est a modifier (ne pas oublier le \ devant le @ sinon cela ne fonctionnera pas) print SENDMAIL "From: vous\@votredomaine.com\n"; print SENDMAIL "Subject: [OVHm] $nom Virtual Host créé\n\n"; print SENDMAIL "Domaine: $nom\n"; print SENDMAIL "Mot de passe: $mdp1\n"; print SENDMAIL "Quota: $quotasMo Mo\n"; print SENDMAIL "Email: $email\n"; print SENDMAIL "Telnet: $telnet\n"; print SENDMAIL "MySQL: $mysql\n"; close (SENDMAIL); }