Re: Problem emailing attachment to Thunderbird

Giganews Newsgroups
Subject: Re: Problem emailing attachment to Thunderbird
Posted by:  AntonE (..@q.q)
Date: Thu, 04 Feb 2010

I reverted to a previous version of Tiburon and it's working fine again.
Where can I see the version numbers so I can let you know which version
is causing the problem?

On 2010/02/04 02:54 PM, AntonE wrote:
> I'm trying to send an email with attachments and although it is received
> correctly my MSOutlook, Thunderbird shows the attachment icon, the
> moment you click on it (in Thunderbird) the message goes blank and
> attachment icon disapears. Looking at the header, it seems TB does not
> like my mail message, neither does ClamAV(amavis) on my mail server. If
> I look at the headers in TB, all is there but it does not display the
> text body not the attachments. I do not need to view attachments inline,
> but it really does not matter to me.
>
> I do not think it is an Indy issue, but I please just need some help to
> send a better email with it.
>
> Here is the delphi code (more or less):
>
> MailMessage:=tIdMessage.Create(self);
> TIdAttachmentFile.Create(MailMessage.MessageParts,MainDM.PrivFolder+Client+'_'+RName+'Chart.csv');
>
> TIdAttachmentFile.Create(MailMessage.MessageParts,MainDM.PrivFolder+Client+'_'+RName+'Chart.wmf');
>
> MailMessage.Recipients.EMailAddresses :=AMailTo;
>
> MailMessage.Subject := RName+' wireless traffic report';
> MailMessage.Body.Text := 'Account
> :'+QuotedStr(Client)+#13#10#13#10+SS.Text+#13#10+GetCAPMessage;
> try
> try
> SMTP.Connect;
> SMTP.Send(MailMessage);
> except on E:Exception do
> SysUtils.Beep;
> end;
> finally
> if SMTP.Connected
> then SMTP.Disconnect;
> end;
> MailMessage.Free;
>
> and the 'invisible mail' headers:
>
>  From - Thu Feb 04 13:30:04 2010
> X-Account-Key: account4
> X-UIDL: 7458.1T,Q6,uMLncP97QijdjyMoFgLik=
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 00000000
> X-Mozilla-Keys:
> Return-Path: notrealeith…@true.co.za
> Received: from mail.true.co.za (LHLO mail.true.co.za) (196.36.9.147) by
> mail.true.co.za with LMTP; Thu, 4 Feb 2010 13:29:35 +0200 (GMT+02:00)
> Received: from localhost (localhost [127.0.0.1])
> by mail.true.co.za (Postfix) with ESMTP id C3E1E1E205A
> for <notre…@true.co.za>; Thu, 4 Feb 2010 13:29:35 +0200 (SAST)
> X-Quarantine-ID: <cdSaT1IRr4I7>
> X-Virus-Scanned: amavisd-new at true.co.za
> X-Amavis-Alert: BAD HEADER, MIME error: error: unexpected end of preamble
> X-Spam-Flag: NO
> X-Spam-Score: 0.093
> X-Spam-Level:
> X-Spam-Status: No, score=0.093 tagged_above=-10 required=6.6
> tests=[ALL_TRUSTED=-1.8, AWL=-0.815, BAYES_00=-2.599,
> FH_DATE_PAST_20XX=3.188, MISSING_MIME_HB_SEP=2.119]
> Received: from mail.true.co.za ([127.0.0.1])
> by localhost (mail.true.co.za [127.0.0.1]) (amavisd-new, port 10024)
> with ESMTP id cdSaT1IRr4I7 for <notre…@true.co.za>;
> Thu, 4 Feb 2010 13:29:32 +0200 (SAST)
> Received: from trueserver (unknown [196.36.9.150])
> by mail.true.co.za (Postfix) with ESMTP id A45D51E20C4
> for <notre…@TRUE.CO.ZA>; Thu, 4 Feb 2010 13:29:32 +0200 (SAST)
> From: "TrueWAN support" <notrealeith…@true.co.za>
> Subject: Daily wireless traffic report for 2010/2
> To: notre…@TRUE.CO.ZA
> Content-Type: multipart/mixed;
> boundary="AixLsgG\=_NJaP8tvW7g8Dp4QOctLnjpJLb"
> MIME-Version: 1.0
> Sender: TrueWAN support <notrealeith…@true.co.za>
> Date: Thu, 4 Feb 2010 13:29:28 +0200
> X-Mailer: TrueWAN server
> Message-Id: <20100204112932.A45D51E20…@mail.true.co.za>
>
> This is a multi-part message in MIME format
>
> --AixLsgG=_NJaP8tvW7g8Dp4QOctLnjpJLb
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Account : 'EKKAS'
>
> Wireless Internet Traffic at 2010/02/04 13:29:28
> YEARMONTHDAY INTERIN INTEROUT INTERTOT
> 2010 2 1 159.59 MB 16.10 MB 175.69 MB
> 2010 2 2 603.13 MB 56.45 MB 659.58 MB
> 2010 2 3 344.33 MB 40.56 MB 384.89 MB
> 2010 2 4 154.36 MB 6.88 MB 161.23 MB
> Used : 1.35GB
> CAP : 5.00GB
> Perc.: 27.0%
>
> --AixLsgG=_NJaP8tvW7g8Dp4QOctLnjpJLb
> Content-Type: application/octet-stream;
> name="EKKAS_DailyChart.csv"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename="EKKAS_DailyChart.csv"
>
> IllFQVIiLCJNT05USCIsIkRBWSIsIklOVEVSSU4iLCJJTlRFUk9VVCIsIklOVEVSVE9UIg0KIjIw
>
> MTAiLCIyIiwiMSIsIjE1OS41OTAzNTAxNTEwNjIiLCIxNi4wOTcwMTQ0MjcxODUxIiwiMTc1LjY4
>
> NzM2NDU3ODI0NyINCiIyMDEwIiwiMiIsIjIiLCI2MDMuMTMwNjk4MjA0MDQxIiwiNTYuNDQ5ODk3
>
> NzY2MTEzMyIsIjY1OS41ODA1OTU5NzAxNTQiDQoiMjAxMCIsIjIiLCIzIiwiMzQ0LjMzMDcyNzU3
>
> NzIwOSIsIjQwLjU1NzYxOTA5NDg0ODYiLCIzODQuODg4MzQ2NjcyMDU4Ig0KIjIwMTAiLCIyIiwi
>
> NCIsIjE1NC4zNTk1MzMzMDk5MzciLCI2Ljg3NTExMDYyNjIyMDciLCIxNjEuMjM0NjQzOTM2MTU3
>
> Ig0K
>
> --AixLsgG=_NJaP8tvW7g8Dp4QOctLnjpJLb
> Content-Type: application/octet-stream;
> name="EKKAS_DailyChart.wmf"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename="EKKAS_DailyChart.wmf"
>
> 183GmgAAAAAAAPoDzAJgAAAAAABHVgEACQAAA9gxAAAQABYQAAAAABYQAAAmBg8AIiBXTUZDAQAA
>
> AAAAAQB30wAAAAADAAAAACAAAMghAADIQQAAAQAAAGwAAAD/////AAAAAF0DAABdAgAAAAAAAAAA
>
> AAA6aQAA+kkAACBFTUYAAAEAyEEAADoDAAANAAAAAAAAAAAAAAAAAAAAAAQAAAADAABAAQAA8AAA
>
> AAAAAAAAAAAAAAAAAADiBACAqQMAGwAAABAAAAAAAAAAAAAAAFIAAABwAQAAAQAAAPX///8AAAAA
>
> AAAAAAAAAACQAQAAAAAAAQAAAABUAGEAaABvAG0AYQAAAAAAsAz6ACEAigGg+RIAMX7xd6D5EgBB
>
> fvF3VAABAfz5EgBYfvF3IDD1dwAAAADQ59EAAADRAED5EgCZxkoA8N/RADDl0QAw5dEAcQAAAHDa

Replies

In response to

Problem emailing attachment to Thunderbird posted by AntonE on Thu, 04 Feb 2010