I''m sending mails to a rails app, and I''m having a weird issue
fetching the email.from header.
I will paste the whole email and show what email.from returns.
#######
Received mail:
Return-Path: <nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Delivered-To: unknown
Received: from mail.tochunky.org (75.126.89.28) by
adreadedsunnyday.local
with POP3; 24 Feb 2007 10:36:27 -0000
Envelope-to: test-6kIoL3UQ0WJg9hUCZPvPmw@public.gmane.org
Delivery-date: Sat, 24 Feb 2007 04:36:16 -0600
Received: from [66.249.82.229] (helo=wx-out-0506.google.com)
by dragon.webhostserver.biz with esmtp (Exim 4.63)
(envelope-from
<nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>)
id 1HKuGG-0001yV-FP
for test-6kIoL3UQ0WJg9hUCZPvPmw@public.gmane.org; Sat, 24 Feb 2007
04:36:16 -0600
Received: by wx-out-0506.google.com with SMTP id s8so769411wxc
for <test-6kIoL3UQ0WJg9hUCZPvPmw@public.gmane.org>; Sat, 24 Feb
2007 02:36:16 -0800 (PST)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
d=gmail.com; s=beta;
h=domainkey-signature:received:received:mime-version:content-
type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer;
b=FRaSe+IsSyLVmg/
xaZdC9Hrd6WPqfLpiLY8svVGBKjdyLyZ3iXBnURANNEfDGO7kWXN/
2IRBDj2FLMOpEAAgDM7Ph05RN2bi7M+EkOf0gjnk9agwfvszCU69QcWSyDk/K1TxvR/
AyAbxjFW9U9kzOh2YedhjtDJ6oc65beDpfyMDomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:mime-version:content-type:message-id:content-
transfer-encoding:from:subject:date:to:x-mailer;
b=DH2aTssEzMz8511RwC432sKB7/VVg0
+43OfEKYPE9oZNYzZqm6YgHFTxEOWxVNOABvNG3UOckADXmfeAg/o2Ro9VmzC7mVIb+5uM
+yzZ8/LKkIkAdLkFOZwo30Y5Eu3edTdLJrQn7TRIZczsLd6aVTrRFGMiZ5RvLVVbZUCZo50Received:
by 10.90.90.16 with SMTP id n16mr2990681agb.1172313376234;
Sat, 24 Feb 2007 02:36:16 -0800 (PST)
Received: from ?192.168.0.2? ( [87.8.27.195])
by mx.google.com with ESMTP id 1sm3184655agb.
2007.02.24.02.36.15;
Sat, 24 Feb 2007 02:36:16 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id:
<9DB1A09E-BFEA-424B-878E-C6D636153E87-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Content-Transfer-Encoding: 7bit
From: Nicholas Wieland
<nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: test4
Date: Sat, 24 Feb 2007 11:36:15 +0100
To: test-6kIoL3UQ0WJg9hUCZPvPmw@public.gmane.org
X-Mailer: Apple Mail (2.752.2)
dsajnkjnsakdbkjsabadks
jksadndsksjkknnas
wejkrnwernkejwnrkjwernjk ewh kj r jnwkjernkwejwjkbhrekwjbr jkwb wkej
bkjweb kjrwekj kjr kjwe rkjw ejwbjk rbkjb rkjweb rkwb
######
As you can see it''s a normal email, the from header is well formed
(name <email-Jbz+COfnBihBDgjK7y7TUQ@public.gmane.org>).
email.from returns:
''---
- nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
''
I have the same behaviour sending with Mail.app and Gmail.
Am I dramatically missing something here ? Or is it a bug in Tmail/
rails ?
TIA,
ngw
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---