Problem with sending mails

Discussion in 'ASP.NET / ASP.NET Core' started by sinjith.r, Feb 20, 2009.

  1. Hi,

    I am sending SMTP mails from my application. For the mail contents the application reads a .txt file inside the website and i am written code like server.map("../mailcong.txt") to read the file content. But it is failing to read the contents from file.


    Sinjith
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for you reply.............

    I solved it, the issue was i was set the deliveroryMethod property for the SMTclient as pickfromiis. I commented this line and it is working fine now.
     

Share This Page