cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
297
Views
0
Helpful
2
Replies

Unity 10.x UNWANTED SmtpAddress Validation!

bretsfu6g3
Level 1
Level 1

We have begun upgrading our large enterprise environment from Unity 9.1 to 10.5. We have a number of applications developed in-house utilizing the vmrest API. One of them allows end users to update the SmtpAddress of their SMTP Notification Device. End users can enter multiple addresses in our application, which takes care of validation itself on the back end and then concatenates the addresses joined by a comma. In effect this enables email notification of voice messages to multiple parties and worked wonderfully under 8.5 and 9.1.

Now, however, we noticed our 10.5 boxes broke this functionality. We get the following error when submitting comma-separated multiple addresses:

<ErrorDetails>
  <errors>
    <code>DATA_EXCEPTION</code>
    <message>Enter Vaild Relay Email Address</message> [sic]
  </errors>
</ErrorDetails>

Obviously the commas are breaking the validation that PREVIOUSLY DID NOT OCCUR. Multiple-party notification still works fine when input manually via CUC Admin but this breaks our end user-facing tool. Is there any way I can turn off validation at the API level?

2 Replies 2

Rob Huffman
Hall of Fame
Hall of Fame

Hi there,

 

This problem sounds a lot like this 10.5 bug;

 

CUPI REST API for SmtpDevice/SmtpAddress Fails
CSCuq33759

 

Symptom:
CUPI REST API PUT to change the SMTP address in notificationdevices/smtpdevices fails with message:

Here's the request:

PUT https:///vmrest/user/notificationdevices/smtpdevices/< a=""> object id>


joe@this.that.the.other.com



Here's the response:



DATA_EXCEPTION
Enter Vaild Relay Email Address




Conditions:
It occurs when the email address given to replace the existing email address...

 

I would contact TAC to secure a "fixed-in" version.

 

Cheers!

Rob

Bug CSCuv46838 has been created for this:

 

https://tools.cisco.com/quickview/bug/CSCuv46838

 

A fix will be included in an upcoming ES release.