in reply to Re^3: read email-message
in thread read email-message

Looks better, thank you. Maybe someone could tell where i can find documentation on this issue?

Replies are listed 'Best First'.
Re^5: read email-message
by Corion (Patriarch) on Dec 17, 2017 at 11:19 UTC

    In the Mail::IMAPClient documentation, the second parameter to ->bodypart_string is documented.

    I'm not sure what more documentation you need.

    Be aware that a MIME mail has multiple parts and the first part is not necessarily the part you want. This is why in my code, I look through the MIME types of all parts and choose the one most applicable.

      What i will do is look into MIME so i know which body parts i need.