You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The email that i fetch gives me the subject line and its the correct subject line, however the contents are empty. The email has plenty of contents in it, images and text. I previously got the contents of another email to output, the email with the contents output had no attachment. The email without the contents output has an attachment. How can i get the correct contents of the message?
The text was updated successfully, but these errors were encountered:
Hi, I believe you are dealing with the multipart message, thus you should fetch the parts and then print their content. Use the mime::parts() to get a MIME part. (MIME is recursively defined, so you may have nested MIME parts.) An attachment is also a MIME part, so it can be fetched in the same way. However, since it's a kind of "special" part, there is also message::attachment() to get only MIME parts which are attachments.
The email that i fetch gives me the subject line and its the correct subject line, however the contents are empty. The email has plenty of contents in it, images and text. I previously got the contents of another email to output, the email with the contents output had no attachment. The email without the contents output has an attachment.
How can i get the correct contents of the message?
The text was updated successfully, but these errors were encountered: