Paul Theodoropoulos writes:
root% ./a.out
�[255]
i presume that's the expected output.
It is. There must be another explanation for your problem.
just for shits'n'grins, i tried displaying the image attachment in the testuser account using mozilla 1.0.1 which i found i had installed on my PC, and it reported the following error in a spawned browser window:
The image http://sqwebmail.smileglobal.com/sqwebmail.cgi/login/testuser%40smileglobal.com.authdaemon/CBE57A3B3BA9CBC5F8FBDDAD55758DAB/1043650200?folder=INBOX&form=fetch&pos=2&mimeid=1.2cannot be displayed, because it contains errors.
here's the email in question as it sits on the server:
- root /u1/domains/smileglobal.com/testuser/Maildir/cur% cat
1043615520.6798.POP,S=98676:2,S
- Return-Path: <[EMAIL PROTECTED]>
- Delivered-To: [EMAIL PROTECTED]
- Received: (qmail 6793 invoked from network); 26 Jan 2003 21:11:59 -0000
- Received: from unknown (HELO mx1.smileglobal.com) (64.42.88.15)
- by pop.smileglobal.com with SMTP; 26 Jan 2003 21:11:59 -0000
- Received: (qmail 22635 invoked from network); 26 Jan 2003 21:11:38 -0000
- Received: from unknown (HELO anastrophe.com) (216.210.193.166)
- by mx1.smileglobal.com with SMTP; 26 Jan 2003 21:11:38 -0000
- Received: (qmail 4908 invoked from network); 26 Jan 2003 21:11:24 -0000
- Received: from unknown (HELO hysterologia.anastrophe.com) (66.224.83.34)
- by anastrophe.com with SMTP; 26 Jan 2003 21:11:24 -0000
- Message-Id: <[EMAIL PROTECTED]>
- X-Sender: [EMAIL PROTECTED] (Unverified)
- X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
- Date: Sun, 26 Jan 2003 13:10:45 -0800
- To: [EMAIL PROTECTED]
- From: Paul Theodoropoulos <[EMAIL PROTECTED]>
- Subject: test one, attached jpeg
- Mime-Version: 1.0
- Content-Type: multipart/mixed;
- boundary="=====================_14631539==_"
- --=====================_14631539==_
- Content-Type: text/plain; charset="us-ascii"; format=flowed
- photo of the 5ghz wireless broadband unit. average 1mb speed.
- Paul Theodoropoulos
- http://www.anastrophe.com
- http://folding.stanford.edu
- The Nicest Misanthrope on the Net
- --=====================_14631539==_
- Content-Type: image/jpeg; name="DSCF0076.JPG";
- x-mac-type="4A504547"; x-mac-creator="4A565752"
- Content-Transfer-Encoding: base64
- Content-Disposition: attachment; filename="DSCF0076.JPG"
- /9j/4TAPRXhpZgAASUkqAAgAAAALAA8BAgAJAAAAkgAAABABAgAMAAAAnAAAABIBAwABAAAAAQAE
- [a few thousand lines deleted]
- PmH4cCpfESqNVlcfxxo36YrpgS3sf//Z
- --=====================_14631539==_--
- Return-Path: <[EMAIL PROTECTED]>
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net
