The documentation is correct. It is just that PHP chooses to *rename* the headers. But lets not get into my feelings about PHP :)On Jun 05, 2006, at 13:14, Antonio Bassinger wrote: thanx Mr Bagyenda
the documentation says X-Mbuni-From and not HTTP_X_MBUNI_FROM....
things are working now :)
i may still have to parse the message however to obtain CC, BCC, multiple recipients.
thanks allthesame Antonio
On 6/5/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote: Let me try to answer the questions below: On Jun 04, 2006, at 10:10, Antonio Bassinger wrote:
thanx Mr. Bagyenda yea, there are logs. i goofed up. and the logs have sender and receipent info - but something like 300, 111/TYPE=PLMN
The address seems correct. MMS addresses can end in a TYPE=PLMN to indicate that they are phone numbers.
i'm a bit confused - x-mbuni headers contain the actual sender or receipient addresses like telephone numbers or short-codes like 111? u see, i want the actual addresses and subject.
What programming language are you using? the fields you want are part of the HTTP request headers. With PHP you would do something like:
$subject = $_SERVER['HTTP_X_MBUNI_SUBJECT'];
(because PHP renames the header names in this array)
i can parse the message itself, by looking at the format, but are all MMS messages in the same mms format?
Yes. pretty much. But at the VASP side you need not parse the MMS. Mbuni can parse it for you and send you each part of the message as a separate element/entity. So no need to parse
also the MM at VASP loses its name. it gets a random temporary name. how to get the original name back?
The original MMS file name is never preserved across the server. Regrds Bassinger
On 6/3/06, Paul Bagyenda < [EMAIL PROTECTED]> wrote: The X-mbuni headers are HTTP headers sent as part of the HTTP request to the VASP. They contain additional information such as sender, recipient, subject etc. Using PHP or any other web programming language, you can look out for these request headers in your program.
On Jun 02, 2006, at 13:14, Antonio Bassinger wrote:
> hi folks > i want to use mms-service at VASP. how can i get sender and > recipient address and subject from the received message? do i parse > the message? > what are X-mbuni headers? > > regrds > Bassinger > > > _______________________________________________ > Users mailing list > [email protected] > http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________ Users mailing list
_______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________ Users mailing list |
_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org