Current location: Hot Scripts Forums » Programming Languages » PHP » MIME problem


MIME problem

Reply
  #1 (permalink)  
Old 08-25-03, 09:08 PM
beshoo beshoo is offline
beshoo
 
Join Date: Jun 2003
Location: <i>beshoo</i>
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
MIME problem

Hi all
i have a a problem.

i have a var $message
and this var contain a email massge and the message llok like this

Code:
>From beshoo@beshoo.com Tue Aug 26 05:03:13 2003
Received: from z9y4f7 ([10.2.1.225])
	by dns2.scs-net.org (8.12.9/8.12.9) with SMTP id h7Q33CHo014086
	for <beshoo@scs-net.org>; Tue, 26 Aug 2003 05:03:12 +0200 (GMT+0200)
Message-ID: <001d01c12d08$09716820$e101020a@z9y4f7>
From: "beshoo" <beshoo@beshoo.com>
To: <beshoo@scs-net.org>
Subject: just test message
Date: Sat, 25 Aug 2001 04:48:27 +0300
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0017_01C12D21.2DEC0DE0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Status:   

This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C12D21.2DEC0DE0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0018_01C12D21.2DEC0DE0"


------=_NextPart_001_0018_01C12D21.2DEC0DE0
Content-Type: text/plain;
	charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

this is a test message

------=_NextPart_001_0018_01C12D21.2DEC0DE0
Content-Type: text/html;
	charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1256" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>this is a test =
message</FONT></DIV></BODY></HTML>

------=_NextPart_001_0018_01C12D21.2DEC0DE0--

------=_NextPart_000_0017_01C12D21.2DEC0DE0
Content-Type: application/x-zip-compressed;
	name="FRUNLOG.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="NLOG.zip"

/HeWnzNULcl0fPczIRh5QASWEltssSdPX
r+bsAyPVNTvdfWYWo3IGu4+ex4dE8FuWRILN4yKdzV7uJ8c4ZU4v86uptQZDVmGwvviz2Tfp6CIM
vgNQSwECFAAUAAAACABFCPUqQ0kPpaEBAADyAwAACwAAAAAAAAABACAAAAAAAAAARlJVTkxPRy5U
WFRQSwUGAAAAAAEAAQA5AAAAygEAAAAA

------=_NextPart_000_0017_01C12D21.2DEC0DE0
Content-Type: application/x-zip-compressed;
	name="Copy of FRUNLOG.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="Copy of FRUNLOG.zip"

UEsDBBQAAAAIAEUI9SpDSQ+loQEAAPIDAAALAAAARlJVTkxPRy5UWFS1U02L2zAQvRv8H3QthDTb
0rQIcjC2khXrtY2tND0sFNeetCK2Rkhy2t1fXzm7Kd3U0A/oSZoZz3sz78lraawrB1U1BkBZWrna

------=_NextPart_000_0017_01C12D21.2DEC0DE0--

I trayd to finde some thing about mime decode and i found some thing but it`s to bad cos i cont print the message and download my attacments

what i need is :
1- print the message with all hedars
2- make a links for all attachments to download .

please any one can help?
Reply With Quote
  #2 (permalink)  
Old 08-28-03, 06:19 PM
beshoo beshoo is offline
beshoo
 
Join Date: Jun 2003
Location: <i>beshoo</i>
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
anu help ??????????????
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with textarea skchakri ASP 1 10-08-03 09:16 AM
file download problem ukyankee Perl 6 10-04-03 10:39 PM
Include problem lapo4ka18 PHP 3 08-23-03 08:03 PM
jpGraph axis labeling problem Squeezer PHP 2 08-20-03 07:53 AM
new problem libr JavaScript 3 08-11-03 06:25 AM


All times are GMT -5. The time now is 05:38 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.