I tested it with follwoing connection setting (perhaps it is interessting for somebody):
Connectionname: E-Plus MMS
APN mms.eplus.de
IP-Adress 212.023.097.153
Benutzername mms
Passwort eplus
But when I start SendMMS, I get an UnknownHostException.
Look here:
Checking mms contents...
-------------------------------------------------
From: +49xxxxxx
To: +49xxxxxx
Subject: Test
Parts:
TEXT_STRING: Hello_World
TEXT_FILE: ./testo.txt
TEXT_IMAGE: ./image.jpg
-------------------------------------------------
Building mms binary message...
Sending mms message...
java.net.UnknownHostException: "212.023.097.153"
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at net.sourceforge.jwap.WAPClient.<init>(Unknown Source)
at net.sourceforge.jmmslib.SendMms.sendMMS(SendMms.java:213)
at net.sourceforge.jmmslib.SendMms.main(SendMms.java:432)
Has anybody a hint for me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From what I can see, the response that the MMS server gives you is not a binary MMS response.
Thus SendMMS doesn't know what to do. Given the malformed response the chances that the server did not process your request are quite high.
Probably you're sending the MMS to a servlet that uses another protocol for handling requests and in response you get an error encoded in such a protocol.
Try and look for another mms servler... Usually your provider gives you 2 settings one for WAP 1.0 and the other for WAP 2.0. Try the configuration for WAP 1.0. That should work.
Cheers Andrea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you for your answer.
After I try it again with the same setting, MMS sending was possible. In first case the connection was not correct established maybe?
But now I have the next question. I'd like to send a Videofile (.3pg) as MMS. I started a new Thread in the forum, to handle this topic.
Hi,
First of all, thanks for your library and congratulations for your project.
I want to send MMS by using the "eplus" (Germany) network. Does anybody know the correct setting for eplus?
Thanks a lot
zickzack11
I tested it with follwoing connection setting (perhaps it is interessting for somebody):
Connectionname: E-Plus MMS
APN mms.eplus.de
IP-Adress 212.023.097.153
Benutzername mms
Passwort eplus
But when I start SendMMS, I get an UnknownHostException.
Look here:
Checking mms contents...
-------------------------------------------------
From: +49xxxxxx
To: +49xxxxxx
Subject: Test
Parts:
TEXT_STRING: Hello_World
TEXT_FILE: ./testo.txt
TEXT_IMAGE: ./image.jpg
-------------------------------------------------
Building mms binary message...
Sending mms message...
java.net.UnknownHostException: "212.023.097.153"
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at net.sourceforge.jwap.WAPClient.<init>(Unknown Source)
at net.sourceforge.jmmslib.SendMms.sendMMS(SendMms.java:213)
at net.sourceforge.jmmslib.SendMms.main(SendMms.java:432)
Has anybody a hint for me?
I think I find out some correct setting.
It is important to set the correct APN in telephon and modemoptions in windows.
For my Nokia modem I set the following AT String: +CGDCONT=,,"mms.eplus.de"
In the configfile I set this parameters:
----start: mmssend.properties-----
#SendMMS configuration
#IP address of the wap gateway
waphost=212.23.97.153
#Port number of the wap gateway
wapport=9201
#Servlet through which send the mms
mmsservlet=http://mms.eplus.de
etc. ......
----end: mmssend.properties-----
But I have already the problem, that no MMS reach an other mobile phone.
The output on console is:
--- start console---
Checking mms contents...
-------------------------------------------------
From: +49xxxxxxxxxxx
To: +49xxxxxxxxxxx
Subject: Test
Parts:
TEXT_STRING: Hello_World
TEXT_FILE: ./testo.txt
TEXT_IMAGE: ./image.jpg
-------------------------------------------------
Building mms binary message...
Sending mms message...
Connecting to "212.23.97.153":9201...
Sending mms message through "http://mms.eplus.de"...
Malformed response message
--- end console---
Does anybody has an idea?
From what I can see, the response that the MMS server gives you is not a binary MMS response.
Thus SendMMS doesn't know what to do. Given the malformed response the chances that the server did not process your request are quite high.
Probably you're sending the MMS to a servlet that uses another protocol for handling requests and in response you get an error encoded in such a protocol.
Try and look for another mms servler... Usually your provider gives you 2 settings one for WAP 1.0 and the other for WAP 2.0. Try the configuration for WAP 1.0. That should work.
Cheers Andrea
Hello Andrea,
thank you for your answer.
After I try it again with the same setting, MMS sending was possible. In first case the connection was not correct established maybe?
But now I have the next question. I'd like to send a Videofile (.3pg) as MMS. I started a new Thread in the forum, to handle this topic.
https://sourceforge.net/forum/forum.php?thread_id=3234868&forum_id=775664
I would be nice, if you could give me some hints for this problem.
Regards
zickzack