cancel
Showing results for 
Search instead for 
Did you mean: 

the 'Content-Length' header must be modified using the appropriate property or method.

Jedwards54
Level 3

HI, 

I'm having an issue when trying to use the 'send mail' action in the Microsoft 365 - outlook object - 

Internal : Could not execute code stage because exception thrown by code stage: The 'Content-Length' header must be modified using the appropriate property or method.
Parameter name: name

Blue prism.PNG

Any thoughts on how to fix this? 

 

Thanks, 

 

Jack

2 BEST ANSWERS

Helpful Answers

Jedwards54
Level 3

I noticed that the standard send mail action wasn't posting any 'body' I changed this action to 'post JSON and dropped in the JSON request. A simple change but worth noting. see below 

 

BP2.PNG

View answer in original post

3 REPLIES 3

Jedwards54
Level 3

SOLVED

Michael_S
Community Team
Community Team

Hey @Jedwards54 - glad you got this sorted! What was the answer in the end?

I noticed that the standard send mail action wasn't posting any 'body' I changed this action to 'post JSON and dropped in the JSON request. A simple change but worth noting. see below 

 

BP2.PNG