TIdAttachment

Giganews Newsgroups
Subject: TIdAttachment
Posted by:  roladdon (roladd…@PutMyServerHere.ca)
Date: Wed, 12 Jan 2005

I want to construct following message:

1) TIdText:  text/plain - quoted-printable
2) TIdText:  text/html  - quoted-printable
3) TIdAttachment: image/gif - base64
4) TIdAttachment: application/vnd.ms-excel - quoted-printable

Everything works,
except No. 4 which ends up always encoded as  base64.
(even if I specify ContentTransfer =  "quoted-printable")

No. 4 is a file that contains  \t  \r \
  0-9 and a-z and A-Z only.

Any idea how I can get the 2nd attachement encoded as  quoted-printable
(that's to reduce the e-mail size)

thanks,

Roland
_________________________________
result of setting ContentTransfer to  "quoted-printable":

Content-Type: application/vnd.ms-excel;;
        name="Test02.xls"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="Test02.xls"

RmF4IE51bWJlcglGaWVsZDIJRmllbGQzCUZpZWxkNAlGaWVsZDUJRmllbGQ2CVN1Y2Nlc3NmdWwJ
VG90YWwgUGFnZXMJRGF0ZS9UaW1lCUZ

Replies