Smallpox, was to lead to a very different but highly effective style of public health; that is, first inoculation and then vaccination, associated with Edward Jenner. Even more spectacularly than plague measures, vaccination ultimately promoted a victory over smallpox, leading in 1980 to its total global eradication.
Inoculation
The major technique for inoculation was that liquid material from a smallpox pustule of a patient selected for having a very mild case was allowed to soak into a thread. The thread was then inserted into a superficial cut, made with the lancet into the arm of the person to be protected, and fastened there for twenty-four hours, hoping the subject would recover from a mild smallpox and obtain immense for a lifetime.
However, it would fail to produce the desired mild infection, but led instead to severe illness and death; and invariably it caused a month or two of immense suffering.
Vaccination
There were three species of the genus of orthopoxviruses: Variola major, Variola minor, and cowpox. The first two are exclusively infectious to human beings, but the third mainly affects cattle. But under the right conditions, cowpox can be transmitted to humans, among whom it induces a mild illness, but it provides a robust crossover immunity to Variola major. Edward Jenner, an English country doctor, used cowpox to make experiments and proved this.
Unlike inoculation, vaccination didn't introduce an infection of smallpox itself, and therefore had no risk of setting off an unintended epidemic. It also had a low risk of serious complications for the individual patient, and no risk at all for the community.