开发者

Rails > Upload image via email

开发者 https://www.devze.com 2022-12-16 20:23 出处:网络
Is there a rails plug开发者_开发问答in or gem out there that allows users to upload their image by emailing the image as an email attachment? I would suggest you use the fetching code from here and th

Is there a rails plug开发者_开发问答in or gem out there that allows users to upload their image by emailing the image as an email attachment?


I would suggest you use the fetching code from here and then just use ActionMailer.receive to create an object from it/load the attachment.


You could have a look at mail which lets you create and read/parse emails.

0

精彩评论

暂无评论...
验证码 换一张
取 消