Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Yahoo AR Not Visible In GM2.2.0

Quote Reply
Yahoo AR Not Visible In GM2.2.0
Hi.

AR from Yahoo is not visible in GM 2.2.0
On clicking the txt version, the file starts downloading.
In that the AR Message Is visible.

Any clue?

[EDIT]
I remeber a similar problem wrt hotmail AR and others perhaps all the interfaces which use RTF editor and have something to do with Content Type in Header. If Content Type could be the issue, then the Same for a AR Message fro Yahoo has following in Header:

Content-Type: text
[/EDIT]

Anup

Last edited by:

anup123: Jul 10, 2004, 4:23 AM
Quote Reply
Re: [anup123] Yahoo AR Not Visible In GM2.2.0 In reply to
Yes, it's Yahoo's fault for setting an incorrect Content-Type. Here's a diff to admin/GMail/Messages.pm to get around it:
Code:
*** 1795,1800 ****
--- 1795,1807 ----
$body_type = 'text';
}

+ # Yahoo! Mail's auto-reply has a 'Content-Type: text' for some odd reason.
+ for (my $i = 0; $i < @attachlist; $i++) {
+ if ($attachlist[$i]->{msgdata_type} eq 'text') {
+ $attachlist[$i]->{msgdata_type} = 'text/plain';
+ }
+ }
+
if ($attachlist[0]->{msgs_content} and $attachlist[0]->{msgs_content} =~ /alternative|related/i) {
my @found_part;
for (my $i = 0; $i < @attachlist; $i++) {

Note that this was fixed in Gossamer Mail 2.2.1 and higher.

Adrian
Quote Reply
Re: [brewt] Yahoo AR Not Visible In GM2.2.0 In reply to
Hi

Is this related to HM stuff (though i have not yet checked with other webmail using RTF editors):

http://www.gossamer-threads.com/...i?post=248444#248444

Thanks
Anup
Quote Reply
Re: [anup123] Yahoo AR Not Visible In GM2.2.0 In reply to
No, this is not related.

Adrian