I get the email attachment.. as email.part
#<Mail::Part:2167989640, Multipart: false, Headers: <Content-Type:
video/x-m4v; x-unix-mode=0644; name=clipout12_iPhone.m4v>, <Content-
Transfer-Encoding: base64>, <Content-Disposition: attachment;
and I would like to do a remote POST (using RestClient) it in a
multipart form like :
RestClient.post ‘http://localhost:3000/foo’, fields_hash.merge(:file
should I store the email.part as a temp file and reuse this temp file
in the post ?
is there any way to post directly the content as a file ?
thanks for your suggestions