Regarding MMS settings
| Sat, 2005-06-18 06:55 | |
|
Hi,
I am able to get the values of MMS settings from the mobile using this code iMmsClient = (CMmsClientMtm *) iClientMtmRegistry->NewMtmL(KUidMsgTypeMultimedia); TInt Flag = iMmsClient->DeliveryReport( ) ; TInt32 FlagRec = iMmsClient->MmsReceivingMode ( ) ; TInt32 FlagFet = iMmsClient->MessageFetchState ( ) ; TBool FlagAd = iMmsClient->AcceptAdvertisements ( ) ; but I am unable set the values of MMS settings into the mobile using this code iMmsClient->SetDeliveryReport (EMmsDeliveryReportNo); iMmsClient->SetMmsReceivingMode ( EMmsReceivingAlwaysEnabled ) ; iMmsClient->SetMessageFetchState ( EMmsFetchingOff ) ; iMmsClient->SetAcceptAdvertisements ( EFalse ) ; Is there any other API to set commit finally into the mobile. please help me. Thanks in advance |
|






Forum posts: 26
For your settings, you need to select the default entry. And of course at the end you have to save this entry!
iMmsClient->LoadMessageL();
// change the necessary settings
iMmsClient->SetDeliveryReport (EMmsDeliveryReportNo);
// ...
// save the settings
iMmsClient->SaveMessageL();
Forum posts: 10
We have a doubt on E-Mail Settings also..
We have done the settings for all pop3 or all imap4 mailbox in E-Mail Settings.
But we dont know how to check for a particular pop3 or IMAP4 mailbox.
So far our settings API gets reflected in all pop3 or all imap4 mailboxes.
I want to set for a particular MailBox. how can I proceed .
Also can u tell me how to get a access point for a particular mailbox.
Can you please sugggest on this.
We have a doubt on E-Mail Settings also..
We have done the settings for all pop3 or all imap4 mailbox in E-Mail Settings.
But we dont know how to check for a particular pop3 or IMAP4 mailbox.
So far our settings API gets reflected in all pop3 or all imap4 mailboxes.
I want to set for a particular MailBox. how can I proceed .
Also can u tell me how to get a access point for a particular mailbox.
Can you please sugggest on this.
Possible for you to share code regarding setting? It would be great help for me and many others
Forum posts: 10
hi,
   Here is the code to set or get the values for all IMAP4 folders.
TMsvSelectionOrdering ordering;
CMsvEntry* iEntry = CMsvEntry::NewL(*iMsvSession, KMsvRootIndexEntryId, ordering );
// Get all POP3 and Imap services
rootChildren = iEntry->ChildrenL();
CleanupStack::PushL(rootChildren);
TMsvEntry entry;
const TInt count = rootChildren->Count();
TInt j =0;
while(j < count )
{
// set context to service entry
iEntry->SetEntryL((*rootChildren)[j]);
entry = iEntry->Entry();
if (entry.iType == KUidMsvServiceEntry && (entry.iMtm == KUidMsgTypePOP3 || entry.iMtm == KUidMsgTypeIMAP4))
      {
CMsvStore* serviceStore = iEntry->EditStoreL();
      CleanupStack::PushL(serviceStore);
      TBuf8<8> port;
      if(entry.iMtm == KUidMsgTypeIMAP4)
        {
CImImap4Settings* folder = new(ELeave)CImImap4Settings;
CleanupStack::PushL(folder);
folder->RestoreL( *serviceStore);
TBuf8<100> login,loginset, passw,passwset;
loginset =Â _L8("login");
passwset = _L8("passw");
folder->SetLoginNameL(loginset);
...
TPtrC8 name = folder->LoginName();
...
folder->StoreL(*serviceStore);
serviceStore->CommitL();
   Â
                               CleanupStack::PopAndDestroy();
CleanupStack::PopAndDestroy();
        }
can u tell me how to fetch the remote mailbox name from the list
Thanks in advance.
Specially GPRS. I need to create IAP using commdb or anyother way.
Forum posts: 26
I never worked with E-Mail nor with creating my own IAPs.