title: Adding an attachment to a .NET Email
body: <p>How do I attach a file with a very unfriendly name (like a file with a session Id number in it) but have it attached as another name? </p>
  
  <p>The file name in question has the session ID in it to avoid clashes name on the web server but when I attach it to the file, a friendlier name is preferable.</p>
  
  <p>Is there a way to attach the file with the unfriendly name as another name so that when the user gets the email he can tell from the name what the content of the file is? I'd hate to have to create a unique folder just to put a non unique file name in it for the purpose of simply attaching it to an email.</p>
  
  <pre><code>Dim mailMessage As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()
  mailMessage.Attachments.Add("C:\My\Code\BESI\BESI\Files\Invoice-djopyynrgek4p4qadn31dxxs.pdf", ????)
  </code></pre>