Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2006

    KErrNotSupported Error when using RSendAsMessage::SetBodyTextL

    I'm using RSendAsMessage to send MMS.

           CRichText* richText = CRichText::NewL(iEikonEnv->SystemParaFormatLayerL(),iEikonEnv->SystemCharFormatLayerL());
    	richText->InsertL(0, body);
    	//TRAPD(err, sendAsMessage.SetBodyTextL (*richText) );
    	TRAPD(err, sendAsMessage.SetBodyTextL (body) );
    	__LOG1("Err=%d", err);
    	sendAsMessage.LaunchEditorAndCloseL ();
    Both methods will leave with -5, KErrNotSupported.
    How can I make it work?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: KErrNotSupported Error when using RSendAsMessage::SetBodyTextL

    Personally I have no real experience with neither MMS API-s nor RSendAsMessage, but as far as I remember, MMS has no body, it has an SMIL descriptor and some attachments, but the SMIL is also added as an attachment.
    Note that FN main site contains MMS example, though it uses the MTM-approach (www.forum.nokia.com Documentation/Symbian C++ on the left, Messaging).

Similar Threads

  1. CMdaAudioPlayerUtility::NewDesPlayerL(...); tells me KErrNotSupported
    By tata_simene in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2011-02-10, 12:00
  2. APS Connect() gives KErrNotSupported
    By strike_noir in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-11-02, 16:44
  3. Why RComm SetConfig() returns KErrNotSupported?
    By ovoda in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-05-02, 10:05
  4. KErrNotSupported when loading DLL on target
    By peterjbaker in forum Symbian
    Replies: 3
    Last Post: 2007-04-27, 15:31
  5. KErrNotSupported in CDirectScreenAccess class
    By sopta007 in forum Symbian
    Replies: 0
    Last Post: 2003-07-14, 06:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts