Hello,
I have a script that sends an email. Everything is working fine, execept when we try to use the FROM property. It has no effect, meaning that the email that is sent will contain the value from the FROM tag configured in the Dataminer.xml file regardless if the FROM property in the Email Options is filled in or not.
Is this expected?
Version: 10.4.3.0-14001
Thanks,
Daniela
Hi Daniela,
That's indeed expected behavior. DataMiner is and should always send emails with the FROM address configured by the administrator. It's not the objective to allow people to start send emails from any FROM address. This might even be rejected by the mail server. This FROM address field in the EmailOptions class is indeed not used and ignored in the SendEmail method.
We could indeed look at how to make this clear in our documentation because that's indeed currently not specifically mentioned.
Bert