Hi Support Team,
I am using Aspose.Email to send a Task to the assigned user, Please the below code.
SmtpClient smtpClient = new SmtpClient("mail.domain.com");
smtpClient.UseTnef = true;
smtpClient.Send(eml);
I have tried with username and credential as well as below, but same exception caught
SmtpClient smtpClient = new SmtpClient("mail.domain.com", "abc@domain.com", "abc@123");
On smtpClient.Send(eml); SmtpException was caught: "Failure Sending mail." (Unable to read data from the transport connection: The connection
was closed.)
Please assist me on above
With warm regards,
Vipin Panwar