Localisation send email attachment- email not sent

Guhananth S 1 Reputation point
2023-06-08T16:09:52.63+00:00

Hi I have written code in mvc to send email. I have localisation for website. When i send an attachment in French .example file name HDFC po 2341. The email is not sent. Getting status as false. Used mailmessage. Need help

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Guhananth S 1 Reputation point
    2023-06-13T09:14:09.76+00:00

    Report controller.cs

    Public httpresponsemessage getorderreport(int id, string language='',string type='pdf')Var rep= new ReportViewerBuilder().AddDataSet('po',purchaseorders.ToList().SetParameters(parameter list).SetTemplateurl(reportTemplatePath).SetReportType(type).BuildReport();Throw error