hi team I want to send a mail in a job and I'm using SendEmailWithAttachment but it is showing this error and I'm not able to figure out what the issue is here.
putting the code and the error
HtmlResult=(Data_.to_html(classes='table table-stripped'))
subject="Unaction Data"
recipients="my email id"
message = HtmlResult
attachment_file_name="N/A"
attachment_content="N/A"
siemplify.send_mail(subject, message, recipients, attachment_file_name, attachment_content)
ERROR:root:An error occurred: 500 Server Error: Internal Server Error for url: http://server:80/api/external/v1/sdk/SendEmailWithAttachment/?format=snake: b'{"errorCode":2000,"errorMessage":"An error occurred. Please contact your system administrator.","innerException":null,"innerExceptionType":null}'