Subversion Repositories Sites.tela-botanica.org

Rev

Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 222
Line 125... Line 125...
125
            "Tela Botanica\nLe Réseau des Botanistes Francophones\n163, rue A. Broussonnet\n34090 Montpellier\n".
125
            "Tela Botanica\nLe Réseau des Botanistes Francophones\n163, rue A. Broussonnet\n34090 Montpellier\n".
126
            "Tél. : 04-67-52-41-22\naccueil@tela-botanica.org\nhttp://www.tela-botanica.org\n" ;
126
            "Tél. : 04-67-52-41-22\naccueil@tela-botanica.org\nhttp://www.tela-botanica.org\n" ;
127
        $mime->setTXTBody($text);
127
        $mime->setTXTBody($text);
Line 128... Line 128...
128
 
128
 
129
        // On attache le document PDF grace à $buf, et en indiquant son type MIME
129
        // On attache le document PDF grace à $buf, et en indiquant son type MIME
Line 130... Line 130...
130
        $mime->addAttachment($buf, 'application/pdf', $file, false) ;
130
        $mime->addAttachment($buf, 'application/pdf', $file, false, 'base64') ;
131
 
131
 
Line 132... Line 132...
132
        $body = $mime->get();
132
        $body = $mime->get();