Date: 02/29/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3632 Updated: Abort trap"
- Previous message: Bug Database: "[PHP-DEV] Bug #3333 Updated: PHP crashes wen I open an empty mailbox"
- Next in thread: Bug Database: "[PHP-DEV] Bug #3398 Updated: imap_append not implemented"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #3398 Updated: imap_append not implemented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 3398
Updated by: hholzgra
Reported By: mike <email protected>
Status: Feedback
Bug Type: IMAP related
Assigned To:
Comments:
Example code please?
i suspect you just used the mailbox name as
mbox parameter instead of the full qualified
form "{servername}path_to_mailbod}"
see example below:
<?php
$stream = imap_open("{your.imap.host}INBOX.Drafts","username", "password");
$check = imap_check($stream);
print "Msg Count before append: ". $check->Nmsgs."\n";
if(! imap_append($stream,"{your.imap.host}INBOX.Drafts"
,"From: me <email protected>\r\n"
."To: you <email protected>\r\n"
."Subject: test\r\n"
."\r\n"
."test\r\n"
))
echo "Append faild: ".imap_last_error()."\n";
$check = imap_check($stream);
print "Msg Count after append : ". $check->Nmsgs."\n";
imap_close($stream);
?>
Full Bug description available at: http://bugs.php.net/?id=3398
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3632 Updated: Abort trap"
- Previous message: Bug Database: "[PHP-DEV] Bug #3333 Updated: PHP crashes wen I open an empty mailbox"
- Next in thread: Bug Database: "[PHP-DEV] Bug #3398 Updated: imap_append not implemented"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #3398 Updated: imap_append not implemented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

