-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error saving attachment #28
Comments
I have the same problem ( |
Has anyone solved this? |
Yeah here is how I got it to work File.open(saveLocation,"w+") { |local_file| local_file << email.attachments.first.decoded } |
Yup I got it too with |
Thanks for the quick reply anyways! |
I think the cause here is that both the 'mail' gem and 'ruby-gmail' define a class Mail::Part, and the former gem wins the naming conflict. |
This works for me too! ;) |
Sorry, this was a mistake in the readme, the mail gem doesn't offer that method. |
Here is my code
Getting this error
The text was updated successfully, but these errors were encountered: