I'm writing a small script that moves selected emails from INBOX to
INBOX.User
Using imap_mail_move seems to work well, the message is moved. BUT:
When I view the moved message via squirrelmail, they have no FROM
address.
Actually SQ doesn't show the FROM, but it's in the header.
If I use SQ to move the messages back to INBOX, it shows the FROM
Address..
Is this an issue with SQ, imap_mail_move or Mercury32 ?
This is the move command I'm using:
Code:
$inbox = imap_open($hostname,$username,$password)
imap_mail_move($inbox,$msg_id,'INBOX.User');
imap_close($inbox);
Thanks
I'm writing a small script that moves selected <a href="http://phpbuilder.com/board/showthread.php?t=10373236#" id="KonaLink3" target="undefined" class="kLink" style="text-decoration: underline ! important; position: static;"><font style="color: blue ! important; position: static;" color="blue"><span class="kLink" style="color: blue ! important; position: relative;"></span></font></a>emails from INBOX to
INBOX.User
Using imap_mail_move seems to work well, the message is moved. BUT:
When I view the moved message via squirrelmail, they have no FROM
address.
Actually SQ doesn't show the FROM, but it's in the header.
If I use SQ to move the messages back to INBOX, it shows the FROM
Address..
Is this an issue with SQ, imap_mail_move or Mercury32 ?
This is the move command I'm using:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="margin: 0px; padding: 6px; border: 1px inset; width: 800px; height: 66px; text-align: left; overflow: auto;">$inbox = imap_open($hostname,$username,$password)
imap_mail_move($inbox,$msg_id,'INBOX.User');
imap_close($inbox);</pre>
</div>Thanks