Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#61 Mailtask was not able to use ESMTP / Smtp w/ authentication

Current CVS
closed-fixed
Ryan Boggs
Core (11)
5
2012-01-23
2011-03-20
tobsen
No

This stackoverflow question brought to my attention that the mail taks isn't usable with SMTP servers which require authentication.
http://stackoverflow.com/questions/1079293/how-to-make-nant-send-an-email-using-a-real-account
I changed the implementation of the mail task in a way that it is using System.Net.Mail instead of System.Web.Mail.
Since the git repository isn't filled and I don't want to install vcs, I upload the whole file instead of a proper .patch file.

Discussion

  • tobsen
    tobsen
    2011-03-20

    Changed Implementation to use System.Net.Mail with authentication, SSL and user defined ports

     
    Attachments
  • tobsen
    tobsen
    2011-03-20

    • milestone: --> Current CVS
    • status: open --> open-fixed
     
  • Ryan Boggs
    Ryan Boggs
    2011-05-04

    • assigned_to: nobody --> rmboggs
     
  • Ryan Boggs
    Ryan Boggs
    2011-05-04

    In review...

     
  • Ryan Boggs
    Ryan Boggs
    2011-05-05

    • status: open-fixed --> open
     
  • Ryan Boggs
    Ryan Boggs
    2011-05-05

    Needs work. The idea makes sense but the main problem with this patch is that it use System.Net.Mail which is only available in .NET 2.0+. NAnt still targets 1.* frameworks.

     
  • Ryan Boggs
    Ryan Boggs
    2011-05-05

    • status: open --> open-later
     
  • Ryan Boggs
    Ryan Boggs
    2011-05-05

    I will look at this again once 0.91 is final.

     
  • tobsen
    tobsen
    2012-01-23

    • status: open-later --> closed-fixed