Table of contents
Collapse the table of content
Expand the table of content

Maximum number of attachments for MMS messages

Last Updated: 12/12/2016

Partners can specify the maximum number of attachments for MMS messages, from 1 to 20. The default is 5.


  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns=""  
                         Description="Use to specify the maximum number of attachments for MMS messages (from 1 to 20)."  
      <!-- Define the Targets --> 
         <Target Id="">
               <Condition Name="" Value="" />
               <Condition Name="" Value="" />
        <Settings Path="Multivariant">
          <Setting Name="Enable" Value="1" />
        <Settings Path="AutoDataConfig">
          <Setting Name="Enable" Value="0" />
      <!-- Specify the Variant -->
      <Variant Name=""> 
          <TargetRef Id="" /> 
        <Settings Path="Messaging/PerSimSettings/$(__ICCID)">  
          <Setting Name="MMSLimitAttachments" Value="" /> 
  2. Specify an Owner.

  3. Define Targets or conditions for when a variant can be applied, such as keying off a SIM's MCC, MNC, and SPN.

  4. Define settings for a Variant, which are applied if the associated target's conditions are met.

  5. Set MMSLimitAttachments to a value from 1 to 20 to specify the default number of attachments for MMS messages. The default set by the OS is 5.


  1. Flash the build containing this customization to a device.

  2. Go to the messaging application and attempt to attach multiple items up to and greater than the limit.

  3. The attach button should become disabled after the maximum number of attachments has been reached.

Send comments about this topic to Microsoft

© 2017 Microsoft