Quoted-printable and AOL
Quoted-printable and AOL
- Subject: Quoted-printable and AOL
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 12 Nov 2000 10:13:01 -0800
<Cross posted to Entourage and Applescript-Users lists.>
Can anyone help here?
I've been working on a complicated project for someone, which involved
exporting records from FileMaker Pro as comma-delimited text files,
converting them to DOS-type text files (with CR/LF line endings) , and
sending them on as attachments to a company that uses AOL for Windows
(yucch), which then imports them into its own database set-up.
Before trying to get this automated, they used to convert the files with
some Mac-DOS conversion app, and then had to send them from their own
AOL-Mac client for everything to work OK. If they send the files from
Outlook Express-mac, or now Entourage, they can't be read at the Windows
end.
I now have everything taken care of, up to the sending-via-Entourage step. I
want to send the files via Entourage, since I wouldn't know how to script
sending via AOL, and even if I tried, couldn't test it since I'm not set up
with AOL myself.
I've had a look at the attachments as sent via AOL, and they are encoded as
quoted-printable. The only thing that appears to come into play is the "="
sign at every soft-wrap when viewed in Source. (These are very long lines.)
But I'm sure there's more to it than that, including the headers themselves.
Would there be a way of replicating this encoding, so as to trick the
AOL-Windows machine into recognizing the attachments? (A small sample of
just headers and the first line follows below.) Is there some scripting
addition or application that will do this? Or can it be scripted? (I notice
that when viewed in my Entourage reader, no symbol for the LF character,
such as a rectangle, appears. But that's the same when CRLF files are sent
via AppleDouble or MIME/base64 encoding and then read by a Mac client. You
do see them when sending via uuencode. I'm sure the LF characters are not
removed by Windows clients.)
Here's a sample of what it looks like when sent by the AOL-mac client, just
up to the very beginning of the second "paragraph" of the second "part",
namely the attachment, as viewed in Entourage Source after being redirected
to me:
--part2_69.c5a00cb.272864af_boundary
Content-Type: text/plain; name="SH1025.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline; filename="SH1025.txt"
"","","Ferolito","Joe","Gadsden County Health Department","Tobacco Program
C=
oordinator","Doctor Lasalle Lefalle
Drive","Quincy","FL","32353-1000","","85=
06274880","28172","","","","","","","","","","","1","","INV#
5581","UPC","",=
"","N","10/20/00","","PS167-7PK","3","","","","","","","","","Ferolito/PO#S=
20=
6480 J00551","Joe","Gadsden County Health Department","Tobacco Program
Coord=
inator","Doctor Lasalle Lefalle
Drive","Quincy","FL","32353-1000","","IN",""=
,"",""
"","",
Any guidance appreciated.
--
Paul Berkowitz