On May 9, 4:30 pm, "étienne Lacoste" <rails-mailing-l...@andreas-
s.net> wrote:
> I am trying to build a script that will download emails + their
> attachments (from gmail server) and place them both into their
> respective folders (one folder containing one email + its attachments).
>
> I have managed to build a script (by putting together pieces from two
> separate scripts) that gets the job 90% done, my problem is that I can't
> get the attachments to save in the same folders as their respective
> emails.
>
The filename in the mime headers is just a filename - you need to join
that with a directory name same as you do when saving the email
itself.

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to