On Wednesday, April 24, 2013 10:27:50 PM UTC+1, Ruby-Forum.com User wrote:
>
> Hello, 
> i have a Loop where an email is sent to several adresses one by one. 
> works fine, but if i attach a file it works only for the first adress 
> correctly. THe other get the mailtext, but no attachment (coorct name, 
> but 0 Bytes) 
> Any Idea why? 
> TIA 
>
 
If the attachment is an IO like object (which seems like it is, from the 
log), then you'll probably need to rewind it after it has been read.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/9s-7Cbi_JIwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to