Accent marks in the description of an email
I have the following email address "Mónica Jones" <-removed->
The following line of code produces an index outside of array bounds error where that address is set in MailCC or MailTo
Mstm.SendEmail(MailTo,MailCC,"",MailSubject,MailBody,"",MailFrom);
If I run the code with a email that does not contain an accent mark in the name it works fine. It was my understanding that the description portion should be treated as text since it is enclosed in the "".
Has anyone else seen this?
---
Note: Some information in this post has been hidden to protect privacy.
Comments
-
Hi,
to add the user friendly name in your emails to, cc, bcc addresses you would need to write your own implementation of the SendMail activity. In the Metastorm To, CC, BCC fields you can only use the pure email addresses.
In the .net framework the MailAddress class has two constructors which allows you to add a friendly name for the email addresses you are using.
0 -
Metastorm provided the .NET SendMail suggesting to use instead %EMail in V7. "Friendly names" worked in both %EMail and your .NET SendMail.
I don't recall seeing anything in the V9 documentation saying you couldn't / shouldn't have "friendly names" using the built-in V9 mail functions. Seems like another step backwards from previous technology.
Now we have to build our own library since its lost functionality ....
0 -
Non-ASCII Characters need to be iso-8859-1 encoded and that fails at the moment.
If you build you own C# activity as a workaround to send emails it is possible to build something like this:
mail.To = new MailAddress("-removed-", "Mónica Jones", Encoding.GetEncoding( "iso-8859-1"));
---
Note: Some information in this post has been hidden to protect privacy.0 -
Hi,
this has now been ackknowlegded as a defect. The defect number is DEF19836.
This should be fixed in the next hotfixes or SRs
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories