[rt-users] rt_client ruby: Issue with attachments in a multipart email

Tom Lahti toml at bitstatement.net
Mon Oct 25 00:00:08 EDT 2010


Send me a patch.  I'm the author of that gem.  Or if you need help, send me your email as a text file and I'll look into it.  

As far as I know roart does not do attachments at all, but that may have changed.  I'm not involved with that gem -- it was made for Rails programmers who are familiar with ActiveRecord, whereas rt-client was made (by me) for a more procedural approach.  As I'm not a rails guy, that paradigm never occurred to me.

In fact, I think I have some updates on my dev box that I haven't pushed to gemcutter, but I'm sure I haven't addressed your issue.

On Oct 24, 2010, at 8:14 PM, Thierry Thelliez <thierry.thelliez.tech at gmail.com> wrote:

> Ok, 2nd correction. sorry.
> 
> 
> The error was not with the multipart, and not with the regular
> expression.  It is in the line:
> 
>     list = th["attachments"].to_s.split(",")
> 
> It is splitting the lines based on the presence of commas.  My
> filename contains a comma...
> 
> 
> 
> Thierry



More information about the rt-users mailing list