Studio Two, EMI Studios in London
A 4:00 to 8:00 pm session which saw the overdubbing of a snare drum roll by Ringo for the opening of "All You Need Is Love" followed by final mono mixing. Backed with "Baby, You're a Rich Man", the song was issued as a single in Britain on Friday, July 7, 1967.
Here and elsewhere, it cruised effortlessly to Number One. With the Our World promotion, it could hardly have failed. The release of "All You Need Is Love" occurred just five weeks after the issue of the LP Sgt. Pepper and yet the single did not appear on the album. Nor were any of the album's songs issued as singles. Such a quality and quantity of output was the understandable envy of all the Beatles' contemporaries.
Source: The Complete Beatles Chronicle - Mark Lewisohn