I am trying to send a mail from Acumatica RestAPI by using the below API URL:
https:/{url}/entity/Default/17.200.001/Email?CompanyID=STS&ScreenID=CR306015
The problem am facing while calling this API with the request shown here:
{
"From":
{
"value":"abc.service@abc.com"
},
"To":
{
"value":"example@abc.com"
},
"Subject":
{
"value":"Test Email"
},
"Body":
{
"value":"Sample Erp Bot Mail Check"
}
}
Is the mail is getting saved into Drafts rather than saving into sent(not being sent to receipt).
The response I am getting when calling the RestAPI is:
(Response from Postman Status:200 OK)
"MailStatus": {
"value": "Draft"
}
Please suggest a way to send email through Acumatica [RestAPI] using C# and .NET.