Bug #3398 Updated: imap_append not implemented

From: Date: Tue, 29 Feb 2000 15:03:44 +0000
Subject: Bug #3398 Updated: imap_append not implemented
Groups: php.dev 
Request: Send a blank email to php-dev+get-16139@lists.php.net to get a copy of this message
ID: 3398 Updated by: hholzgra Reported By: mike@bedarra.com 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@my.host\r\n" ."To: you@your.host\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

« previous php.dev (#16139) next »