Hello,
I'm trying to send email configuration messages to a 7650 and a 9210.
For this i want to use the basic mail feature as stated in the Nokia smartmessaging 3.0 specs.
Everything goes very well if the mail-settings fit in one message, but when i have to concatenate the phones complain that the message has an illegal format.
I sent the following two messages:
Both messages with an empty UDH. I sent the enters as newline-symbols (0x0A).
What am I doing wrong? Has anyone goy an example of a working multipart email settings message?
I did run some tests with Nokia 9210i and Nokia 7650 with success. Here is the example data that I used:
As a clear text:
Mail IAP name, max 50 chars (IAP must be already defined in terminal): Nokia
Remote mailbox username: tstuser
Remote mailbox password: tstpsw
User's email address: test.test@nokia.com
Host name of the receiving IMAP/POP server: nokianokia.test.com
Host name of the sending SMTP server: nokianokia.test.com
Mail protocol: IMAP4
as coded:
Email configuration message example
Mname:Nokia
Muid:tstuser
Mpwd:tstpsw
Madr:test.test@nokia.com
Mrcv:nokianokia.test.com
Msnd:nokianokia.test.com
Mpro:IM
As the message is long enough it needs to be splitted two separate messages as follows:
Hex dump of the first message:
0011000C9153484XXXX1600000AA9FAFD774B864C66A3763AC7633E67230192C062AB
6C3693668FC769BD3E7BA3C4C4FBFDDA076793E0F9FCBA0323EDC86B3CB8AA63BDC2E
EB9CEF753AAC68D6D3641D7D4EAFCFCB7245137E27EBE8733A7C7E5734C364B98E5E9
ED35DF4F29C0E70BFD7E9B06BFC6E2B9AF2B15DE77EAFD361F77B9D0EBBE8E539DD35
7EB715CDB99BAC73BFD7E9B0FBBD4E8701
As text:
//SCKL157F157F990201 Email
configuration message example
Mname:Nokia Muid:tstuser
Mpwd:tstpsw
Madr:test.test@nokia.com
Mrcv:nokianokia.test.com
Msnd:nokianokia
Second part as hex dump:
0011000C9153484XXXX1600000AA27AFD774B864C66A3763AC7633E67230194C0672D1CB73BA6BFC6E2B9A70F95B976C2A00
Second part as text:
//SCKL157F157F990202 .test.com
Mpro:IM
I hope this helps!
Teemu / Forum Nokia
ps. Remember to replace the phone number with your own, once you try
Thanks auvinent.
The examples worked very well. But my real problem was that I forgot the Mname: field! It's mandatory as hell!
I use the NBS (with UDH) way now, it works okay too.