title: Vcard MMS file name is always "text 1"
body: <p>When sending a vcard file on an SMS message via Twilio using the mediaUrl option, it shows up on the iPhone with "text 1" next to the file as if "text 1" is the file name. </p>
  
  <p>I have tried renaming the vcard file, using example vcard files, etc. No matter what the files show up as "text 1". </p>
  
  <p><a href="https://i.stack.imgur.com/uhpBt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uhpBt.png" alt="Example vcf"></a></p>
  
  <p>I have tried on iPhone 8 and 10. I have tried bare bones VCF files and full featured ones from Outlook and even example ones online such as <a href="http://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf" rel="noreferrer">http://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf</a> - No matter what, they show up on iPhone as "text 1". </p>
  
  <p>What can I do to make this be either the phone number or a name?</p>
  
  <p>Edit --- After the comment from @philnash, I was able to add a content-disposition header to the file which now comes back in the headers as follows:</p>
  
  <pre><code> Content-Disposition: attachment; name="John Doe"; filename="john-doe.vcf" 
  </code></pre>
  
  <p>Here is a screenshot from Fiddler:<br>
  <a href="https://i.stack.imgur.com/rK9Sr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rK9Sr.png" alt="Fiddler screenshot"></a></p>
  
  <p>I also renamed the file to a unique name and tried again in case Twilio or anywhere along the way was caching the old file. The header is there but the message still shows "text 1" on the iPhone.</p>
  
  <p>In case it had something to do with Azure blob storage. I also coded an ASP.Net MVC file action that returns the file with the content dispostion headers - it also shows as "text 1" on iPhone. 
  <a href="https://i.stack.imgur.com/adJkq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/adJkq.png" alt="IIS server"></a></p>