RE: Script to send sales orders via email
I am creating a script to send sales orders via email, but when it is executed, the email is sent to the person who created the sales order, not to the email address assigned in a custom field. Could you please advise me on what I might be doing wrong?
Are you able to share a snippet of your script?