As mentioned earlier, we defined the state of the button to be read on pin 7 while pin 9 was used as the grounding pin for the button. What we’re essentially doing in the code above is setting the GPIO pin scheme to the Raspberry Pi scheme. Since the input pin 7 is set as Pull Up pin, the states for button depression are going to be the opposite of what the GPIO library reports. Therefore we have to use the ‘not’ keyword before every pin read.
Setting up emailing capabilities
# Create a SMTP server instance
gfi endpoint security 4 endpoint security 2016