I have a very strange problem, I am trying to test my mailer and as far as I can see the fixture mail is exactly the same as the generated. Any ideas The first is the expected and the second is the result: <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: ****@*********\r\nSubject: =?iso-8859-1?Q?Investeringsans=f6kan?=\r \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r\n**Investeringsans \366kan**\n\n**************************************************\n \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n \n**************************************************"> <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: ****@*********\r\nSubject: =?ISO-8859-1?Q?Investeringsans=f6kan?=\r \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r\n**Investeringsans \366kan**\n\n**************************************************\n \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n \n**************************************************"> I removed the email addresses so that is not the issue! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 16 May 2008, at 12:08, matlin wrote:> > I have a very strange problem, I am trying to test my mailer and as > far as I can see the fixture mail is exactly the same as the > generated. > Any ideas >No it''s not. expected has Subject: =?iso-8859-1 but the actual has Subject: =?ISO-8859-1 Fred> The first is the expected and the second is the result: > > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > ****@*********\r\nSubject: =?iso-8859-1?Q?Investeringsans=f6kan?=\r > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > \n**Investeringsans > \366kan**\n\n**************************************************\n > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > \n**************************************************"> > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > ****@*********\r\nSubject: =?ISO-8859-1?Q?Investeringsans=f6kan?=\r > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > \n**Investeringsans > \366kan**\n\n**************************************************\n > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > \n**************************************************"> > > I removed the email addresses so that is not the issue! > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ah, crap, you know how you stare and stare at something and just can''t see it when it''s right there ... Thanks! /Mats On May 16, 1:25 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 16 May 2008, at 12:08, matlin wrote: > > > > > I have a very strange problem, I am trying to test my mailer and as > > far as I can see the fixture mail is exactly the same as the > > generated. > > Any ideas > > No it''s not. expected has > Subject: =?iso-8859-1 > but the actual has > Subject: =?ISO-8859-1 > > Fred > > > The first is the expected and the second is the result: > > > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > > ****@*********\r\nSubject: =?iso-8859-1?Q?Investeringsans=f6kan?=\r > > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > > \n**Investeringsans > > \366kan**\n\n**************************************************\n > > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > > \n**************************************************"> > > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > > ****@*********\r\nSubject: =?ISO-8859-1?Q?Investeringsans=f6kan?=\r > > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > > \n**Investeringsans > > \366kan**\n\n**************************************************\n > > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > > \n**************************************************"> > > > I removed the email addresses so that is not the issue!--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The test passed, I have been staring at the output for two days! Blind as a bat I am! Thanks again /Mats On May 16, 1:33 pm, matlin <mats.lindb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Ah, crap, you know how you stare and stare at something and just can''t > see it when it''s right there ... > > Thanks! > /Mats > > On May 16, 1:25 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On 16 May 2008, at 12:08, matlin wrote: > > > > I have a very strange problem, I am trying to test my mailer and as > > > far as I can see the fixture mail is exactly the same as the > > > generated. > > > Any ideas > > > No it''s not. expected has > > Subject: =?iso-8859-1 > > but the actual has > > Subject: =?ISO-8859-1 > > > Fred > > > > The first is the expected and the second is the result: > > > > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > > > ****@*********\r\nSubject: =?iso-8859-1?Q?Investeringsans=f6kan?=\r > > > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > > > \n**Investeringsans > > > \366kan**\n\n**************************************************\n > > > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > > > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > > > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > > > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > > > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > > > \n**************************************************"> > > > <"Date: Fri, 16 May 2008 12:55:23 +0200\r\nFrom: ****@*********\r\nTo: > > > ****@*********\r\nSubject: =?ISO-8859-1?Q?Investeringsans=f6kan?=\r > > > \nContent-Type: text/plain; charset=ISO-8859-1\r\n\r > > > \n**Investeringsans > > > \366kan**\n\n**************************************************\n > > > \n*Placering*\nFHV 8:D 006\n\n*Motivering*\nTESTDATA TESTDATA TESTDATA > > > TESTDATA TESTDATA\nTESTDATA!\n\n*Belopp*\n8000\n\n*Best\344llare* > > > \nMats Lindblad\n\n*Investeringen avser*\nTESTDATA TESTDATA TESTDATA > > > TESTDATA TESTDATA\nTESTDATA TESTDATA TESTDATA TESTDATA TESTDATA > > > \nTESTDATA TESTDATA!\n\n*Produktinfo*\n\n > > > \n**************************************************"> > > > > I removed the email addresses so that is not the issue!--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---