search for: email_attach

Displaying 1 result from an estimated 1 matches for "email_attach".

Did you mean: jail_attach
2006 Jun 28
0
Reading email attachments
...rescue Exception => e logger.error "Error receiving email at " + Time.now.to_s + "::: " + e.message end end end end And then this in MailReader (after it has been converted to a Tmail object) if mail.has_attachments? for email_attachment in mail.attachments RAILS_DEFAULT_LOGGER.info ''creating attachment'' attachment = Attachment.new attachment.uploaded_file( email_attachment, attachment ) c.attachments << attachment if attachment.save c.save end...