CAll Us: +91 88 00 563434   Login

How to Bin Deploy ASP.NET Assemblies on Shared Servers

On ASP.NET platform it is quite common to use 3rd party assemblies like MVC, MS chart controls to add features accessible from your code which are not present in the .NET framework by default. In your development machine, you do this by installing the required assembly server-wide. Assemblies get installed in Global Assembly Cache (GAC) […]

Read More »

Authenticate Emails in ASP.NET Using SMTP

Nowadays, you need to enable SMTP authentication for all emails send from your hosting account. It is easy to enable SMTP in case if you make use of e-mail clients such as Outlook. However, you should provide the required authentication code if you attempt to send an e-mail through ASP.NET web form. ASP.NET 4.5 has […]

Read More »

System.Web.Mail Sample C# and VB .NET Script

The following scripts use SMTP Authentication to send mail from your script – C#: <% @Page Language=”C#” %> <% @Import Namespace=”System.Web.Mail” %> <% MailMessage mail = new MailMessage(); mail.To = “FRIEND@FRIENDSDOMAIN.COM”; mail.From = “YOU@YOURDOMAIN.COM”; mail.Subject = “this is a test email.”; mail.Body = “Some text goes here”; mail.Fields.Add(“”, “1”); //basic authentication mail.Fields.Add(“”, “YOU@YOURDOMAIN.COM”); //set your […]

Read More »