I have the scenario where I have the details of the organisation in a database table. I want to use the values to populate the sender fields of an email as illustrated.
However, the values don’t seem to be transferred, i.e. the fields remain empty.
{"status":"500","message":"mail.send: fromEmail is required.","stack":"Error: mail.send: fromEmail is required.\n at App.parseRequired (/var/www/vhosts/bunchokids.org/app/lib/core/app.js:473:19)\n at App.send (/var/www/vhosts/bunchokids.org/app/lib/modules/mail.js:18:30)\n at App._exec (/var/www/vhosts/bunchokids.org/app/lib/core/app.js:435:57)\n at App._exec (/var/www/vhosts/bunchokids.org/app/lib/core/app.js:406:28)\n at processTicksAndRejections (internal/process/task_queues.js:89:5)\n at async App.exec (/var/www/vhosts/bunchokids.org/app/lib/core/app.js:375:9)\n at async App.define (/var/www/vhosts/bunchokids.org/app/lib/core/app.js:365:9)"}
Please help me to understand.