note 106687 added to function.imap-append
| From: | BillChristo at osu1 dot php dot net | Date: | Mon, 28 Nov 2011 18:01:17 +0000 |
| Subject: | note 106687 added to function.imap-append | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184742@lists.php.net to get a copy of this message | ||
Just to add to what I wrote below. The below code, which saves a msg to the drafts folder is missing
something important. The last parameter titled options allows for msg flags, per the imap rfc. If
you don't set it to \Draft then the msg will get saved to the draft folder but it will not be
editable. Assuming your using Outlook, you will have to click on actions and resend this msg. To
avoid this set the Draft flag.
imap_append($mbox,$authhost,$msg, "\\Draft");
----
Server IP: 69.147.83.197
Probable Submitter: 173.221.88.114
----
Manual Page -- http://www.php.net/manual/en/function.imap-append.php
Edit -- https://master.php.net/note/edit/106687
Del: integrated -- https://master.php.net/note/delete/106687/integrated
Del: useless -- https://master.php.net/note/delete/106687/useless
Del: bad code -- https://master.php.net/note/delete/106687/bad+code
Del: spam -- https://master.php.net/note/delete/106687/spam
Del: non-english -- https://master.php.net/note/delete/106687/non-english
Del: in docs -- https://master.php.net/note/delete/106687/in+docs
Del: other reasons-- https://master.php.net/note/delete/106687
Reject -- https://master.php.net/note/reject/106687
Search -- https://master.php.net/manage/user-notes.php