Bonjour j'ai un gros souci avec mon script de mail j'ai inclu le fichier normalement comme je le faisais d'habitude et ça marche mais sur ce nouveau projet, quand je post ça me met

Warning: include_once(1): failed to open stream: No such file or directory in /htdocs/user/fr/Comptetemporaire/compteclient/mailing.page.php on line 5

Warning: include_once(): Failed opening '1' for inclusion (include_path='.:/usr/share/php') in /htdocs/user/fr/Comptetemporaire/compteclient/mailing.page.php on line 5

Fatal error: Class 'PHPmailer' not found in /htdocs/user/fr/Comptetemporaire/compteclient/mailing.page.php on line 35
or je n'ai même pas de htdocs dans ma racine et nul part ailleurs. la racine c'est user et le dossier

voici mon script

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
        if (isset($_POST['envoyer'])) {
            $nom=$_POST['nom']; $email=$_POST['email']; $prenom=$_POST['prenom']; $texte=htmlspecialchars(htmlentities($_POST['texte'])) ;
            // Envoi d'email automatique au client//
    include_once("PHPMailing/phpmailer/class.phpmailer.php")or die(mysql_error()) ;
    ob_start(); ?>
    <div>
        <div style="width:700px; border:1px solid gray; margin: 5px; padding:5px; margin-left:150px;">    
            <img src="http://www.betterliving.com/user/fr/Comptetemporaire/compteclient/images/banniere.png" style="width: 700px; border:none;">
                        <?php echo $texte ;?>
                </br>
                </br></br> <b>Nous vous remercions de votre confiance.</b>
 
                </br></br>
                <div style="background-color:gray; border:1px solid gray;width:700px;"></div>
                <p style="margin: 5px; padding:5px; width:700px;">    
                    Veuillez ne pas r&eacute;pondre &agrave; cet e-mail. L'adresse do_not_reply@betterliving.com ne peut pas recevoir de r&eacute;ponse<br/><br><br/>
                    <b style="color:#02184b; text-align:center;">Copyright BETTER LIVING &copy;<?php echo date("Y");?>, tous droits r&eacute;serv&eacute;</b>
                </br></br></br>Cordialement</p>
        </div>
    </div>
        <?php $contenu = ob_get_clean();
        $mail = new PHPmailer(); $mail->IsMail(); $mail->IsHTML(true);
        $mail->From="do_not_reply@betterliving.com"; $mail->FromName="Nom expediteur";
        $mail->AddAddress("{$_POST['email']}", "{$_POST['nom']} {$_POST['prenom']}");     
        $mail->AddAddress("adresses_email_destinataire1", "Identite destinataire1");  
        $mail->AddBCC("sghislain@websoft-enterprise.net", "SIATE Ghislain");
        $mail->AddReplyTo("do_not_reply@betterliving.com", "BETTER LIVING"); 
        $mail->Subject="OUVERTURE DE VOTRE COMPTE BANCAIRE";
        $mail->Body=$contenu; 
        $mail->Send(); 
        $mail->SmtpClose(); 
        unset($mail);
 
 
 
    }
;?>