php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3398 imap_append not implemented
Submitted: 2000-02-03 21:41 UTC Modified: 2000-07-25 12:27 UTC
From: mike at bedarra dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.14 OS: Linux (RHat 6.1)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at bedarra dot com
New email:
PHP Version: OS:

 

 [2000-02-03 21:41 UTC] mike at bedarra dot com
 Calling imap_append fails to append the message. The server logs show no APPEND request being received. Also imap_append is returning null rather than a boolean.

Using imap 4.7a.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 10:03 UTC] hholzgra at cvs dot php dot net
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);
?>


 [2000-07-25 12:27 UTC] hholzgra@php.net
no feedback and not reproduceable
in latest php 3 and 4
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 11:01:31 2025 UTC