Closed matteodesimone closed 9 years ago
Can you post the full stack trace for the exception that is raised? I'll have to test multiple attachments manually.
I've moved to a different gem so I'm not able to replicate the problem now. Anyway I can share with you the complete log related to the problem: https://www.dropbox.com/s/znjyfpfwg7nft1u/log-mandrill.txt.zip
Hi,
I'm trying to handle inbound email form Mandrill. My code extracts form the mandril email address the user id, it checks if the user is present in my db and, in this case, it forwards the email to the user. Everythings works except if I try to send attachments.
My EmailProcessor class is very simple:
The UserMailer::forward_from_incoming_email() is:
I've tested several situations and I noticed that:
...attachments array seems to be empty because the .each loop is not executed. Indeed this is the content of 'email' object in this case:
... it raises an exception:
and forward_from_incoming_email() is not executed.
Any suggestions?