View previous topic :: View next topic |
Author |
Message |
Dworf Guest
|
Posted: Tue May 11, 2004 11:24 pm Post subject: application/octet-stream |
|
|
Hey... works great... tried to fix up email reciving...
I get the mail, recmail.pl processes it well (i used the patched one you posted it on forum)
it creates this files in msgstore/1127_email
--
info.txt
part1
part1.desc
--
info.txt contains
part1 (application/octet-stream)
-
part1.desc contains
text of the sms!
-
and part1... is just an jpeg image send from my Nokia 6600 if i rename it to part1.jpg
-
and when i try view.php (from MMSDiary) i get "1127_email/part1" TEXT and no image! If i Use the direct MMS option with home page then it works!
BTW: nice idea and nice work! |
|
Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Wed May 12, 2004 8:54 am Post subject: |
|
|
Is it the Nokia sending this MMS via the operator MMSC or have you downloaded the photo and you email it yourself to test the email interface?
Because if you are using a regular email client the problem is that without the extension the email client (outlook, thunderbird, whatever) won't be able to guess the content-type, thus it will put application/octet-stream as content-type - which will cause Peffisaur to not show it. The email attachment must have the right content-type or it won't work. For images it will only touch image/gif, image/png, image/jpg and image/jpeg.
If you are not just sending this from a PC with an email client, if it is actually the Nokia directly through the MMSC, then there is a problem with your operator's MMSC setting actually. It must convert the MMS to an email with the correct content-types for the attachments.
And another thing. The view.php from MMS Diary might not really display something that was received by Peffisaur ok. I don't recall now but there might have been changes between them. |
|
Back to top |
|
 |
Dworf Guest
|
Posted: Wed May 12, 2004 11:22 am Post subject: |
|
|
hey thank you for your extra fast reply!
well the email was sent directly from the nokia 6600 with the E-Mail message with attached jpeg picture throo the Operaters MMSC So the problem must really be in MMSC strange... Hmm... the mail containd this:
----------
From: x@x.com
Reply-To: x@x.com
To: x@x.com
Subject: test
Date: Tue, 11 May 2004 15:23:35 +0200
Message-ID: <0S4YtYwNlppV.PhL1RNqj@x.com>
X-Mailer: Symbian OS Email Version 7.0
MIME-Version: 1.0
Content-Language: i-default
Content-Type: multipart/mixed;
boundary="EPOC32-17Cp-1W5WCzfZssfgwkn8'W3ZFY1j6pSPlBVpT9zB0wTxJWB"
X-Virus-Scanned: by amavisd-new at cool
This is a MIME Message
--EPOC32-17Cp-1W5WCzfZssfgwkn8'W3ZFY1j6pSPlBVpT9zB0wTxJWB
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
this is just a text writen in nokia 6600 for test!
--EPOC32-17Cp-1W5WCzfZssfgwkn8'W3ZFY1j6pSPlBVpT9zB0wTxJWB
Content-Type: text/plain
Content-Disposition: attachment;
filename="Image(120).jpg"
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAQAAAQABAAD//gAoCgoKMTcvMDQvMjAwNAoxNjoxODow............... etc ............
--------------
Hum... ill try to debug or somthin... and yes ill look in the view.php i tought of using the one from Peffisaur but first i need to fix this email problem!  |
|
Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Wed May 12, 2004 9:55 pm Post subject: |
|
|
From the looks of that email it seems it sends JPEG even as text/plain. This all sounds very strange to me. Do the images show up properly when you read the email in an email client? |
|
Back to top |
|
 |
Guest
|
Posted: Thu May 13, 2004 7:56 am Post subject: |
|
|
yop they work! and even if i rename the part1 to part1.jpg they look ok! anyway... I think that i made it work! im not sure ill need a little more testing when I come home... thank you! |
|
Back to top |
|
 |
nfinland
Joined: 10 Feb 2005 Posts: 2 Location: Helsinki, Finland
|
Posted: Thu Feb 10, 2005 8:02 pm Post subject: |
|
|
I installing Peffisaur, bot not done yet.
I have similar problems (octet) with another moblog tool that I´m testing.
http://www.fogelholm.com/blog/
P.S. My Nokia 6630 posts ok with EasyMoblog so the problem cannot be phone/operator related only. Test page: http://www.fogelholm.com/moblog/
------------------
Posts from my gmail account seems to work ok. Text and pics are published!
Some smaller problems occur with posts from a Nokia 6100 and my Nokia 6630 won´t cooperate at all.
Nokia 6100 posts text+pics via MMS and the result is ok. When posting only pics some od text from my operator is added by default. Hmm...
Nokia 6630 posts text via mail and that works ok. Pics as attachements wont get published via email. Posting text only or pics only via MMS doesn´t work. The only thing published is an /a>. When posting via MMS messages with an .smil extension will en up in the Nuclues media/1 folder. Well, that means something happened. Pictures via MMS get an extension .pjep?
When posting with 6630 via MMS the action.php page has the following info:
Message Type is multipart/mixed
From: +358 my phone number/TYPE=PLMN@mmsc.radiolinja.fi
-------------------------- |
|
Back to top |
|
 |
|