Hello everbody
I'm stuck for a long time with this problem:
An email could have many parts[x] inside other parts[x], so my problem is how I can access a part[x] inside other part[x] with the function imap_fetchbody($emailBox, $currentEmail, $partnumber) .
Because the $partnumber is the index of the part when i have just one. but when i have 1 part inside the other as this case:
part[0]
bla
bla,bla
part[0]
x
y
when i use the function (,,0) he thinks that is the first part, but i want to access the other that is inside.
How can I solve this problem guys? 😕