January 2010 Archives

因安裝新版Firefox 3.6,而之前的Google Notebook Extension for Firefox 3.5+便說無法相容。
其實只要直接有改那XPI檔內的install.rdf內的3.0.*改為4.0.*就可以安裝了。
為方便自己其他台電腦也安裝,提供修改過的google-notebook.xpi檔下載點


Username = "Yourname"
Passwd = "Password"
AttachedFile = "filename"
SMTPServer = "smtp.gmail.com"
Set Email = CreateObject("CDO.Message")
Email.From = "yourname@gmail.com"
Email.To = "recivername@gmail.com"
Email.Subject = "Subject"
Email.Textbody = "Content"
Email.Addattachment AttachedFile
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPServer
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = Username
Email.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = Passwd
Email.Configuration.Fields.Update
Email.Send
set Email=nothing

DOS Batch Script

| No TrackBacks

Find out year, month and day.


FOR /F "tokens=1-3 delims=/- " %%A IN ('DATE/T') DO (
SET yyyy=%%A
SET mm=%%B
SET dd=%%C
)
echo %yyyy%_%mm%_%dd%

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Archives

Powered by Movable Type 4.34-en

About this Archive

This page is an archive of entries from January 2010 listed from newest to oldest.

December 2009 is the previous archive.

February 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.