M
Master
Hi,
i need to use Persist AspMail with aspx, i have found on the site that i
need to put the dll file in the Bin folder... but bin folder of what?
without it i get the error:
<%@ Import Namespace="ASPEMAILLib" %>
Compiler Error Message: BC30466: Namespace or type 'ASPEMAILLib' for the
Imports 'ASPEMAILLib' cannot be found.
Here's what i have found on Persist site:
AspEmail comes with an ASP.NET wrapper assembly, ASPEMAILLib.dll, which has
to be placed in the \Bin subdirectory of your ASP.NET application.
Alternatively, you can place this file in the Global Assembly Cache.
In C#, create an instance of AspEmail as follows:
<%@ Import Namespace="ASPEMAILLib" %>
<script runat="server" LANGUAGE="C#">
void Page_Load(Object Source, EventArgs E)
{
....
ASPEMAILLib.IMailSender objMail;
objMail = ASPEMAILLib.MailSender();
....
}
</script>
Thx
i need to use Persist AspMail with aspx, i have found on the site that i
need to put the dll file in the Bin folder... but bin folder of what?
without it i get the error:
<%@ Import Namespace="ASPEMAILLib" %>
Compiler Error Message: BC30466: Namespace or type 'ASPEMAILLib' for the
Imports 'ASPEMAILLib' cannot be found.
Here's what i have found on Persist site:
AspEmail comes with an ASP.NET wrapper assembly, ASPEMAILLib.dll, which has
to be placed in the \Bin subdirectory of your ASP.NET application.
Alternatively, you can place this file in the Global Assembly Cache.
In C#, create an instance of AspEmail as follows:
<%@ Import Namespace="ASPEMAILLib" %>
<script runat="server" LANGUAGE="C#">
void Page_Load(Object Source, EventArgs E)
{
....
ASPEMAILLib.IMailSender objMail;
objMail = ASPEMAILLib.MailSender();
....
}
</script>
Thx