when was it released?
November 1967
Sunshine of Your Love
"Sunshine of Your Love" was included as the second track on "Disraeli Gears", which was released in November 1967 by Reaction Records in the UK and Atco Records in the US. 
who wrote the song sunshine of your love Pete Brown.
wiki:20341024
Sunshine of Your Love [SEP] Releases and charts
"Sunshine of Your Love" was included as the second track on "Disraeli Gears", which was released in November 1967 by Reaction Records in the UK and Atco Records in the US. At first, Atco did not see the song as a single ("Strange Brew", backed with "Tales of Brave Ulysses" had been released as a single in June 1967). However, in December 1967, the label issued an edited version of the song as the second single from the album, backed with "SWLABR" (the running time was trimmed from 4:08 to 3:03). It entered "Billboard" magazine's Hot 100 chart on 13 January 1968, reaching number 36 during its initial 14-week run.