Anybody savvy on mime mail from PHP?Hello Michael,
I set up a mime mail to attach and send excel csv files and tested the heck out of it. It works great my own Outlook 2000 email client, but when the same file is sent to the client he gets all kind of mime stuff as text( see below). This client gets other excel files as attachments, so...? Could it be application/csv that's messing it up?
Here's what my client got:
X-Priority: 3
Content-Type: multipart/mixed;
boundary="<<<:e91a3275780f77986424ba25b45a5f4e"
This is a multi-part message in MIME format.
--<<<:e91a3275780f77986424ba25b45a5f4e
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Text appeared here that was supposed to show up in the email body...
--<<<:e91a3275780f77986424ba25b45a5f4e
Content-Disposition: attachment;
Content-Type: application/csv; name="EDOC0-08-04-03.csv"
Content-Transfer-Encoding: base64
Rmlyc3QgTmFtZSxMYXN0IE5hbWUsQWRkcmVzcyxBcHQsQ2l0eSxTdGF0ZSxaaXAgQ29kZSxUZWxl
cGhvbmUsICxNYWpvcixFbWFpbCBBZGRyZXNzLENhbXB1cyxMZWFkIFNvdXJjZQpQcmlzY2lsbGEs
IEpvaG5zb24sIDIxMjI4IEdhcnkgRHJpdmUsIDEwNSwgQ2FzdHJvIFZhbGxleSwgQ0EsIDk0NTQ2
LCA1MTAtNTgxLTQzMTcsIFBNLCBNZWRpY2FsIEFzc2lzdGluZywgcHJpc2NpbGxhZWpAY3MuY29t
LCBIQUMsIEVET0MwMwpMbG95ZCwgRm9yZCBKci4sIDc0MCBMYSBQbGF5YSwgIzIyNSwgU2FuIEZy
YW5jaXNjbywgQ0EsIDk0MTIxLCA0MTUtMzg3LTM0ODUsIEFNLCBTb2Z0d2FyZSBUZWNobm9sb2dp
ZXMsIHh4cHJvcGVyb25leHhAeWFob28uY29tLCBTRkMsIEVET0MwMwo=
--<<<:e91a3275780f77986424ba25b45a5f4e
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%%
A couple of questions first.
1. Does your client receive Excel files as .cvs, or .xls?
2. Does your client receive the Excel files as "Attached files?
3. Does your client receive the Excel files as "Inline files?
4. Is your clients' e-mail application set to open .cvs files in the Excel application?
5. If you create a cvs file and save it to a floppy, then rename the file to something new, can you send yourself the renamed file from the floppy and have your Excel application open it when received? (Renaming the file assures that Excel cannot open a copy from your hard drive.)
A cvs file is nothing more that a data file with tab, comma, or space delimiters; if the file is received as an "Inline attachment" then he would see the content of the file in the body of the message.
Michael Gordon
-- Character is doing the right thing... Even when no one is watching... http://www.armadilloweb.com
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
