i am trying to sent out mail using SMTP.
After Proving all the desired result
I am getting an error of :value could not be null.
I am not getting what is the exact error.
I am here sharing the snap sort of error as well.
Please let me know if possible
Though u r passing value as argument check whether u really have XLSX files in that folder
Only then it returns value with ur directory expression and this error won’t occur
It looks like u r passing array of files
If that’s case make sure u r passing in ATTACHMENT COLLECTION property as it accepts array of file paths
Ensure that you have provided a valid recipient email address in the “To” field. It should not be empty or null.
Verify that you have provided the correct SMTP server and port for your email provider. Make sure you have set up the SMTP server configuration correctly.
Ensure that the “From” email address is not null and is a valid sender’s email address.
Make sure you have provided a subject and body for your email. They should not be null.
Set an appropriate SMTP timeout value. If the SMTP server is taking too long to respond, it can result in this error.