By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,335 Members | 2,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,335 IT Pros & Developers. It's quick & easy.

How to forward a email in IMAP

P: 3
I have some emails that I connect into IMAP that I need to forward. I have searched the internet and can not find any examples of how to do this. Can someone help me with code on how to forward a email using IMAP? Below is some code that I tried

imap_mail('', 'Forward Message', imap_body($mailbox, $emailIndex), 'From:');

Info taken from
Dec 22 '07 #1
Share this Question
Share on Google+
1 Reply

P: 3
Actually after looking into it more, the above code does forward the email but since the email has attachments it is come thru with the mime information

Content-Type: multipart/related; boundary="----=_NextPart_0000007d06014d07d7"

Content-Type: multipart/alternative; boundary="----=_NextPart_0000007e06014e07d7"

Content-Type: text/plain
Dec 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.