Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix for UnstructuredField which responds to Content-Field #470
Recently received an e-mail which had the following content-type for an attachment:
After receiving the e-mail I perform a to string on the Mail object to generate a unique hash. Something like the following:
Mail::POP3.new(settings).find_and_delete(count: 25) do |msg| receive(msg) process_email_key(Digest::SHA1.hexdigest(msg.to_s)) end
When I received the e-mail with the content-type I noticed above I got the following error
The private method