Code Sample

OleDB connection string examples – SQL server and Microsoft Access

OleDB connection string An OLE DB connection enables to connect to a data source by using an OLE DB provider. For example, an OLE DB connection manager that connects to Microsoft Access database or SQL Server can use the Microsoft Access Jet or Microsoft OLE DB Provider for SQL Server. Following is the sample connection …

OleDB connection string examples – SQL server and Microsoft Access Read More »

Send Email using ASP.Net VB.Net

Send Email using ASP.Net VB.Net ASP.Net has built in class to send email via script. You can send email with or without authentication using ASP.Net namespace System.Net.Mail. Following is the sample code to send mail using ASP.Net VB.Net: Make sure to make necessary changes in your script (i.e. SMTP server, email address, password etc.)

Send Mail Using CDO for Windows – Script example for CDO

Send Mail Using CDO On Windows server, you can send mail using CDO. CDO allows to send email using SMTP authentication as well as without SMTP authentication. Here is the sample code to send email using SMTP authentication using CDO: You will have to update SMTP server, SMTP username and password in the above sample …

Send Mail Using CDO for Windows – Script example for CDO Read More »