Getting Error for Email Attachment RRS feed

  • Question

  • Hi,

    Created ASP.NET form and there is a file upload control. to upload file(Excel file). If user uploads any file and save the form, then group of people will receive an email with uploaded file as attachment. When email receivers try to open this attachment, they are getting following error.

    Error Message:

    "Excel cannot open the file filename.xlsx because the file format or file extension is not valid. Verify that file has not been corrupted and that the file extension matches the format of the file".

    Can anyone help me out to resolve the issue? 



    • Moved by Fei Hu Tuesday, May 8, 2018 2:59 AM Moved From C#
    Monday, May 7, 2018 2:13 AM

All replies