Edit senton in msg file

Hello, I need edit senton in msg file, but script show error The object does not support this method. Exist other option? Thank you

$outlook = New-Object -comobject outlook.application
$msg = $outlook.CreateItemFromTemplate("C:\my.msg")
$msg.Senton = $msg.Senton -replace "05.04.2022", "03.04.2022"
$msg.saveas("C:\my.msg")

Could you please share the complete error message formatted as code and translated to english?

Thanks in advance

You may consider using

The SentOn property is Read Only, you can’t set it:

PS E:\Temp>$msg | Get-Member

SentOn                            Property   Date SentOn () {get}
The object does not support this method.
At C:\file.ps1:3 char:1
+ $msg.Senton= $msg.Senton -replace "05.04.2022", "03.04.2022"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException