Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #5114 fogottent back-slashes
Submitted: 2005-08-16 22:38 UTC
From: tibo59 at msn dot com Assigned: ohill
Status: Closed Package: Documentation
PHP Version: 4.3.11 OS: winXP
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2005-08-17 16:03 UTC
Package:
Bug Type:
Summary:
From: tibo59 at msn dot com
New email:
PHP Version: Package Version: OS:

 

 [2005-08-16 22:38 UTC] tibo59 at msn dot com
Description: ------------ you have gorgotten 2 back-slashes in your code on page (french version):http://pear.php.net/manual/fr/package.mail.mail-mime.example.php the code code I think: <?php include('Mail.php'); include('Mail/mime.php'); $text = 'Version texte de l\'email'; $html = '<html><body>Version HTML de l\'email</body></html>'; $file = '/home/jean/exemple.php'; $crlf = "\n"; $hdrs = array( 'From' => 'vous@votredomaine.com', 'Subject' => 'Test message MIME' ); $mime = new Mail_mime($crlf); $mime->setTXTBody($text); $mime->setHTMLBody($html); $mime->addAttachment($file, 'text/plain'); $body = $mime->get(); $hdrs = $mime->headers($hdrs); $mail =& Mail::factory('mail'); $mail->send('postmaster@localhost', $hdrs, $body); ?> thanks

Comments

 [2005-08-17 16:03 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!