Sorry you need to pass the name ot the value so it should be iso-8859-1 or 28591 that you pass to the getencoding method.
Also see on the .NET help the Encoding class for a complete list of encoding numbers and strings you can use.
>>Example
>>
>>MailMessage.BodyEncoding = System.Text.Encoding.GetEncoding("Western European (ISO)")
>>
>>By default the BodyEncoding property of the MailMessage class is us-ascii" and as we all know english language doesn't know what the heck is a letter with an accent.
>
>Are you sure this syntax is supported?
Alexandre Palma
Senior Application Architect