VS.NET 2010 (and above) Users Click Here   

HOMECONTACT PRODUCTS DOWNLOADS PURCHASE TESTIMONIALS FORUMS COMPANY CONTACT
Home
Products
Downloads
Purchase
Licensing
Licensing FAQ
Software Updates
Support Forums
Testimonials
Feature Requests
Guarantee
About Us
Contact Us
Hosting Companies
Privacy Policy
   
Shopping Cart


aspNetMime forum



[ Reply to Post ] [ Back To Forum ]
From: "dave wanta" <dave@...>
Date: 11/11/2013 12:20:58 PM
Subject: RE: Attachment name replaces & with _
Hi Blake,
"&" are part of the InvalidPathChars array, where invalid characters are removed, that cause problems with the file system.

If you want to override this behavior, you can set:

MimeMessage.InvalidPathChars = null;


InvalidPathChars is a char array of all invalid characters. Besides setting it to null, you could also exclude or add your own characters to that array.

Let me know if you need anything else,
Dave

 

 

 



Thread View

Subject By Date
Attachment name replaces & with _ Blake 11/11/2013
   RE: Attachment name replaces & with _ [ you are here ] dave wanta 11/11/2013
     RE: Attachment name replaces & with _ Blake 1/15/2014

 

 

Testimonial

Geez...I'm not used to tech support saying "I don't have that...let me build it for you!" Thanks! "

M. Ligon | Tallent

Read more testimonials
ListNanny aspNetDNS aspNetEmail aspNetPOP3 aspNetMX IPMuncher aspNetMIME aspNetPING aspNetTraceRoute aspNetIMAP aspNetMHT