Bonjour,

j'ai un probleme avec l'envoi du mail a partir de mon code html voici l'erreur

https://gyazo.com/f6918d95aab40a8a0a7a227ab9a132a2

voici le code :

/**
 */

namespace Library\Email;

class Email
{
    private $link = 'http://localhost/cmsshop/confirm';

    public function email_base($content)
    {
        return '<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div bgcolor="#f4f4f4" style="padding:0px;margin:0px;background-color:#f4f4f4">
    <table style="background-color:#f4f4f4" align="center" bgcolor="#f4f4f4" border="0" cellpadding="0" cellspacing="0"
           width="100%">
        <tbody>
        <tr>
            <td valign="top">
                <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                    <tbody>
                    <tr valign="middle">
                        <td width="20"><img
                                src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                        <td height="60">
                            <table align="left" border="0" cellpadding="0" cellspacing="0">
                                <tbody>
                                <tr>
                                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#862165;text-decoration:none;font-weight:bold">
                                        <a href=""
                                           style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:17px;color:#862165;text-decoration:none;font-weight:normal"
                                           target="_blank"><img
                                                src="http://localhost/cmsshop/style/img/logo.png"
                                                alt="test" title="test"
                                                style="display:block;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:17px;color:#862165;text-decoration:none;font-weight:normal"
                                                border="0" height="39" width="200"></a></td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                        <td>
                        </td>
                        <td width="20"><img
                                src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                    </tr>
                    </tbody>
                </table>
                <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                    <tbody>
                    <tr valign="top"></tr>
                    </tbody>
                </table>
                <table align="center" bgcolor="#ffffff" border="0px" cellpadding="0" cellspacing="0" width="640">
                    <tbody>
                    <tr>
                        <td>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td colspan="3" height="25"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <!-- Coupe 1 -->
                                        '.$content.'
                                        <!-- Fin coupe -->

                                                    <br> <br> Si vous avez des questions sur votre compte, s\'il vous
                                                    contacter <a
                                                        style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:16px;color:#862165;text-align:left;font-weight:normal;text-decoration:none"
                                                        href="site" target="_blank">Jordan</a> .
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="20"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
                                            <tbody>
                                            <tr>
                                                <td style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#555555;text-align:left"
                                                    align="left"><b>Meilleures salutations,</b></td>
                                            </tr>
                                            <tr>
                                                <td height="20"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
                                            <tbody>
                                            <tr>
                                                <td style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#555555;text-align:left"
                                                    align="left"><a href="site"
                                                                    style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#862165;text-decoration:none;font-weight:normal"
                                                                    target="_blank">Jordan</a></td>
                                            </tr>
                                            <tr>
                                                <td height="20"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table style="background-color:#f4f4f4" align="center" border="0" cellpadding="0" cellspacing="0"
                       width="640">
                    <tbody>
                    <tr>
                        <td>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tbody>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="1"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="15"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="15"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            <tr>
                                                <td style="font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:16px;color:#939598;text-align:left;font-weight:normal;font-style:italic"
                                                    align="left">Ps3 Jailbreaik Ltd. Enregistr� en France. <a href=""
                                                                                                              style="font-family:Arial,Helvetica,sans-serif;font-size:8px;color:#939598;text-decoration:none"></a>
                                                    Si�ge social: <a href=""
                                                                     style="font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#939598;text-decoration:none">25
                                                        adresse, 75000 PARIS.</a>
                                                    Vous �tes sur un site de vente de PS3 Jailbreak qui est bas� sur ville.
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="15"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table style="background-color:#f4f4f4" align="center" border="0" cellpadding="0" cellspacing="0"
                       width="640"></table>
                <table style="background-color:#f4f4f4" align="center" border="0" cellpadding="0" cellspacing="0"
                       width="640">
                    <tbody>
                    <tr>
                        <td>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tbody>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="1"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            <tr>
                                                <td style="font-family:Arial,Helvetica,sans-serif;font-size:8px;line-height:16px;color:#939598;text-align:left;font-weight:normal;font-style:italic"
                                                    align="left"> Pour veiller � ce que les e - mails  atteignent
                                                    votre bo�te de r�ception, s\'il vous pla�t ajouter <a
                                                        href="mailto:no-reply@email.skrill.com"
                                                        style="font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:16px;color:#939598;text-align:left;font-weight:normal;text-decoration:none"
                                                        target="_blank"><strong>email/strong></a>
                                                    � votre liste d\' emails s�curis�e.
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="font-size:1px;line-height:0px" height="15"><img
                                                        src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                                        alt="" title="" style="display:block" border="0" height="1"
                                                        width="1"></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>';
    }

    public function confirm($username, $id, $token)
    {
        return '<table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
    <tbody>
    <tr>
        <td style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#555555;text-align:left"
            align="left"><b>Bonjour, '.$username.'</b></td>
    </tr>
    <tr>
        <td height="20"><img
                src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                alt="" title="" style="display:block" border="0" height="1"
                width="1"></td>
    </tr>
    </tbody>
</table>
</td>
<td width="20"><img
        src=""
        alt="" title="" style="display:block" border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
    <tbody>
    <tr>
        <td width="20"><img
                src=""
                alt="" title="" style="display:block" border="0" height="1" width="1"></td>
        <td width="600">
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
                <tbody>
                <tr>
                    <td style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#555555;text-align:left"
                        align="left"> Bienvenue sur le shop de ps3 jaibreak. Afin d\'obtenir l\'acc�s � toutes
                        les fonctionnalit�s de votre compte, s\'il vous pla�t v�rifier votre
                        adresse e-mail en cliquant sur le lien ci-dessous:
                    </td>
                </tr>
                <tr>
                    <td height="20"><img
                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                            alt="" title="" style="display:block" border="0" height="1"
                            width="1"></td>
                </tr>
                </tbody>
            </table>
            </td>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                </tr>
                                </tbody>
                            </table>
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
                                <tbody>
                                <tr>
                                    <td width="20"><img
                                            src="https://ci6.googleusercontent.com/proxy/6xvFBkgu-s2tI6khCjF4p3_PnepAXqQAgi6gIqhaBHnPQcuGEzcixIowAxr1rQHKQaam6k9RLy442bU7HPXASflu8mN9ozAOErlAh6SoniGyjHSp7xlsC42MHthbYBFWTQIIHACGp6LzoPI=s0-d-e1-ft#https://www.skrill.com/creatives/images/nl/btc/p2p/2013/13-06/card-renewal/spacer.gif"
                                            alt="" title="" style="display:block" border="0" height="1" width="1"></td>
                                    <td width="600">
                                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
                                            <tbody>
                                            <tr>
                                                <td style="font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;color:#555555;text-align:left"
                                                    align="left"><span class="notranslate"><a
                                                            href="https://account.skrill.com/en/email_address_verification?customerId=79468908&amp;email=remicorbel14%40gmail.com&amp;verificationCode=88E6EDF339BBNE1F&amp;purpose=register"
                                                            style="color:#862165" target="_blank">'.$this->link.'?id='.$id.'&token='.$token.'</a></span>';
    }

    public function confirme($username, $id, $token)
    {
        return  $this->email_base($this->confirm($username, $id, $token));
    }

9 réponses


Salut,

Tu nous donne la classe en vrac, mais même pas d’exécution de code.
Essaie d'être plus précis sur la source du problème.
On ne voit aucun retour d'erreur sur le lien. Juste du HTML.

RDZ
Auteur

le probleme c'est que quand sa envoi l'email je recoi du html au lieu du design c'est tu comment je pourrais faire ?

Salut,

Peux-tu nous montrer le code qui te sert à envoyer le mail ?

RDZ
Auteur

voici le code de l'envoi du mail

mail($_POST['email, 'Confirmation du mail', $message)

$message est = au code html

Et le headers du message est où ?

Tu as fait une erreur de frappe : mail($_POST['email'], 'Confirmation du mail', $message)

RDZ
Auteur

comment sa le le headers ??

apres avoir mis le code la :

mail($_POST['email'], 'Confirmation du mail', $message)

j'ai toujours le code html au lieu du design

Oui il faut dire au mail qu'il est au format html.
Pour cela il faut utiliser le addition_headers (le 4ème paramètre de la fonction mail)
Fonction mail

RDZ
Auteur

dac merci j'essaye sa demain je te redi