Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #4984 Mail_mimePart addSubPart Example error
Submitted: 2005-08-03 12:39 UTC
From: ladell at sitrack dot com Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: 4.3.9 OS: windows 2000 professional
Roadmaps: (Not assigned)    
Subscription  


 [2005-08-03 12:39 UTC] ladell at sitrack dot com
Description: ------------ I'm trying to read a pop3 email and resend it, I have the headers and parts, when I read the example "Example 44-1. Add twoattachments to a mail " I believe that threre is something wrong at the end of the example ----------------------------------------------- // Now build the email. Note that the encode // function returns an associative array containing two // elements, body and headers. You will need to add extra // headers, (eg. Mime-Version) before sending. $email = $message->encode(); $email['headers']['Mime-Version'] = '1.0'; ... ----------------------------------------------- what is "$message"? Is it an mail object, a mail_mime object or what? Can you send me the rest of the example showing how can I compose the entire email an send it?

Comments

 [2006-04-09 15:32 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!