SendEmail method in V9.2 - Urgent
We have a working solution in V9.1, using the SendEmail functionality as follows.
Mstm.SendEmail(emailTo, emailOriginator, null, emailSubject, emailBody, null, emailFrom);
When the same solution is deployed to V9.2, this line of code prevents the folder from moving to the next stage - identified by the fact that it works when I comment out this line of code.
Aanyone had the same, or have a suggestion?
Thanks
Jennifer
Comments
-
Jennifer
I am not sure which version you have as there is no 9.2 as of yet but check how you build your list of email names for the To, CC, and BCC properties. In earlier versions if the list contained a blank entry within the list it would still process.
IE -removed-;-removed-;;-removed- (notice that the spot for 3 is blank as it did not contain a value for whatever reason)
I haven't tested each revision to see when it became effective but I know for a fact that for version 9.1 SR3 Hotfix 2 it will now throw an exception and stop the activity from continuing if your email name properties have this issue.
Another example is if you have something like -removed-;-removed-;
The semi-colon at the end indicates that there should be another email address in the list and this will also cause the same exception.
The error you will get in your log is:
An invalid character was foundin the mail header: ','.
---
Note: Some information in this post has been hidden to protect privacy.0 -
Yes, just removed the semi colon and it works perfect.
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