Friday, December 18, 2009

Insert Categories to your BlogSpot

Inserting Categories is not included in the blogger.com but they are providing various alternatives for that. Labels are one of those solutions. I saw various developers and bloggers gave several solutions for it.
But I couldn’t find a solutions which suits for me. So I decided to do it in my own way. That was simple.
Steps are as follows
  1. Fist you have to Add HTML/JavaScrtipt gadget to your layout. (I hope it will be a easy task to add html/javascript gadget to the blog so I don't going to explain that here).
  2. Then I add simple html table and script section as follows




In the href of the link tag past the link to your blog post. Blogger is creating separate HTML page for your each post. Hence you can paste that page url in the tag. (link will be available in the post list which is ordered according to the posted date).


One thing of this solution is you have to add new table row to this table each time you create a post.
But according to my requirement I'm ready for do it :)

Cheers....!!!






Monday, December 14, 2009

Send Emails Using Gmail As SMTP Server


GmailSmtp

We can use gmail as our SMTP server for .NET development purposes.
C#.Net Code for send mail as follows 
Main thing is you need to define the Port 587 and set  Enable the SSL for SmtpClient

int Port = 587;
string MailServer = "smtp.gmail.com";
string UserName = "gmailUserName";
string Password = "gmailPassword";

System.Net.Mail.MailMessage mailMessage = new System.Net.Mail.MailMessage();
mailMessage.From = new System.Net.Mail.MailAddress("FromAddress");
mailMessage.To.Add(new System.Net.Mail.MailAddress("ToAddress"));

mailMessage.Subject = "Subject";
mailMessage.Body = "Message";
mailMessage.IsBodyHtml = true;

System.Net.Mail.SmtpClient smtpClient = new System.Net.Mail.SmtpClient(MailServer, Port);

smtpClient.Credentials = new System.Net.NetworkCredential(UserName, Password);
smtpClient.EnableSsl = true;

try
 {
    smtpClient.Send(mailMessage);

 }
catch (Exception Ex)
 {
      string str = Ex.Message;

 }







Wednesday, November 11, 2009

Google Wave


Google Wave

When I see the Developer preview video in the about the Google Wave. I just said WOW. It's an amazing work done by Google.
Nobody needs to Update their blog, images all separately. They only have just let the Google Wave to do it . We do not need to wait other person to press the Enter key when we are in the online conversation Wave will just let us know what he/she is typing word by word (no more messages like "she is typing a message").

I can not wait to use this great application.

Yes Finally I got access to the Wave now I'm Waving with Google Wave.... in addition to that I got some invitations tooo.

that's cool (for me.... ;) )








Thursday, October 22, 2009

Be Right Back...!!!