|
-
January 13th, 2010, 04:15 AM
#1
php mime encoder
hi
i need my php application to encode my email so it would look quite like this:
Code:
From: 60123456789
To: Undisclosed
Message-ID: <4677928.1.1263362226968.JavaMail.SYSTEM@geoflex-dafd13d>
Subject: Hello MMS
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_0_14780827.1263362226843"
------=_Part_0_14780827.1263362226843
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sila tonton video ini
------=_Part_0_14780827.1263362226843
Content-Type: application/octet-stream; name=vid1.3GP
content-transfer-encoding: base64
Content-Disposition: attachment; filename=vid1.3GP
AAAAHGZ0eXAzZ3A1AAAAADNncDQzZ3A1aXNvbQAAN0xmcmVlAAAAbG12aGQAAAAAxpVuR8aVbmcA
AAPoAAIdaAABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAA
the string above is generated using javamail, and I can't find any php library which can do the similar thing...
thanks a lot
-
January 13th, 2010, 10:00 AM
#2
Re: php mime encoder
Why do you need a library to do that? E-mail is built right into PHP's general functions...mail().
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
January 14th, 2010, 03:27 AM
#3
Re: php mime encoder
 Originally Posted by PeejAvery
Why do you need a library to do that? E-mail is built right into PHP's general functions... mail().
it seems the built in php functions is not really up to what i wanted.. i may be wrong, but I can't find any example which does what I want there.. anyway, i've decided just to use Java for the stuff above, so I consider this topic is closed.. althought not gracefully
-
January 14th, 2010, 08:34 AM
#4
Re: php mime encoder
All you would have to do is to create a string identical to your first post and pass it as the message within the mail() function.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
January 14th, 2010, 10:39 PM
#5
Re: php mime encoder
 Originally Posted by PeejAvery
All you would have to do is to create a string identical to your first post and pass it as the message within the mail() function.
oouh... don't tell me it's that simple... anyway I should try it... thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|