I want to create a sendEmail function with a few paramters that i can call anywhere within my entire ASP.NET site. What's the best way to do this? Thanks.
But, the way that I did it was by creating a custom DLL and importing that namespaces into the pages that need to send e-mail.
that's what i was thinking...i guess i just wanted to make sure i wasn't missing something simple. thanks.
... as a static member so you don't need an instance.