Parsing of mail messages - get the attachment

Hello,

I’m doing a function to parse an email message and get the attachment (if any). Actually, I need to save the attached file to disk.

I found here https://golang.org/pkg/net/mail/ some directions to parse the mail message, but there’s no hints to handle MIME attachments.

Better question:
Are there any mature IMAP library available ?

Cheers, AN

1 Like

Try to find something here:

https://golanglibs.com/search?q=email

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.