[Mono-bugs] [Bug 408699] New: [patch] MailDefinitiion should map BodyFileName

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 12 21:56:46 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=408699


           Summary: [patch] MailDefinitiion should map BodyFileName
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jaharper at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Right now trying to set the path to a MailDefinition body file does not map the
path.

Something like this:
<asp:PasswordRecovery ID="PasswordRecovery"
MailDefinition-BodyFileName="~/Content/mail/password-recover.txt"
runat="server">
</asp:PasswordRecovery>

does not work as we try to access the physical path
"~/Content/mail/password-recover.txt"


This example also doesn't work:
<asp:PasswordRecovery ID="PasswordRecovery"
MailDefinition-BodyFileName="../../Content/mail/password-recover.txt"
runat="server">
</asp:PasswordRecovery>

I don't have a standalone test case as it takes a fair amount of server setup
to test this functionality.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list