Showing posts with label IT - Programming. Show all posts
Showing posts with label IT - Programming. Show all posts

Tuesday, July 1, 2008

Widgets Development

Dear Readers,

I am exploring widgets hmmmmmm, looks cool and interesting.

BTW, Nokia does not spell widgets as widgets they use ‘s’ instead of ‘g’, so it is widsets for Nokia.

I developed widgets using yourminis sdk, yahoo sdk and finally widsets from Nokia. Results are interesting. I found youminis widget develop as easy tool, their widget action script for Flash is very handy. I use yahoo widget converter to convert the widgets developed on yourminis. Great, it did work fine. Expect I was expecting some drop down list, which was not appearing.

Finally, on the Nokia, I tried with simple syndication service and upload the widset. It does not work. They do have option for the creating syndication (RSS) feed widget and I had tough time in figuring out why it not show up properly (the child items are not showing in the widget) And I found it is because of the rss version supported by Nokia. It has to be, Rss version 2. If you have developed some feed on your website using older version. Please do upgrade.

Testing is on going, you can see my widsets soon on Nokia… coooool

Thank you, Readers
JS

Monday, June 23, 2008

SMTP Mail Application

Dear Reader,

I recently asked to develop a small application using gmail's SMTP for sending email application.
I started with traditional winsock programming and found some issues with ssl and login procedures.

I tried with CDO and found working fine. Here is the portion of the code for your reference.
************* Code Starts Here ******************
VB 6.0 Code
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
iConf.Load -1 ' CDO Source Defaults Set Flds = iConf.Fields
With Flds
.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "YOur gmail here"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "YOUR PASSWORD HERE"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Update
End With
strbody = "Your Sample message "
With iMsg
Set .Configuration = iConf
.To = ""
.CC = ""
.BCC = ""
.Send
***********************Code Ends Here*****************************

Well, this works fine for me. BTW, how long microsoft would support the CDO?
No one knows , i guess.

Thank you, Readers.
JS