Archive for June, 2010

SQL Server 2005 Database Log File

You must take in to account those key points before trying Database Log Backup.

# Set Database RECOVERY to FULL.
# Take full BACKUP of the Database.
# Now, you can proceed for Database Log BACKUP.
Continue reading

Sending Image Embedded HTML Mail with C#

If you are not familiar with .Net Mail, have a look here.

First of all, create LinkedResource Object for the image or images; you want to embed in your Mail. Assign a unique name to ContentId Property of LinkedResource Object.

//Creating LinkedSource for embedded picture
LinkedResource myPhoto = new LinkedResource("c:\\27_n.jpg");
myPhoto.ContentId = "me";

Continue reading