Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [anup123] Yahoo AR Not Visible In GM2.2.0

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
Subject Author Views Date
Thread Yahoo AR Not Visible In GM2.2.0 anup123 3893 Jul 10, 2004, 4:19 AM
Thread Re: [anup123] Yahoo AR Not Visible In GM2.2.0
brewt 3789 Jul 10, 2004, 2:48 PM
Thread Re: [brewt] Yahoo AR Not Visible In GM2.2.0
anup123 3769 Jul 11, 2004, 10:12 AM
Post Re: [anup123] Yahoo AR Not Visible In GM2.2.0
brewt 3780 Jul 11, 2004, 2:08 PM