Hi!!
I'm writting a webmail, using the imap/pop3 functions.
I have some problems with fetching the body from the email.
I have some code like this:
$mbox=imap_open("{host/pop3:110}INBOX","username,"pass");
$body=imap_qprint(imap_fetchbody($mbox,$x,"1"));
This works fine, but when I recive a mail in
text/html with an attachment I don't get
any body from the imap_fetchbody.
How can I tell if it is an html/text email with an attachment?
Thanks
/Ole