Reboot droplet/server after website email no longer forwarded to gmail
I’ve been tasked with maintenance of our company’s website, which was moved to a Digital Ocean server by our former developer. Whenever people accessed the site and filled out either of two contact forms, an email would be generated and sent to a Gmail account. However, no emails have been received in 1-½ weeks. I have tried filling out the contact forms multiple times and seen no emails (testing has confirmed the Gmail account is receiving emails otherwise).
Would rebooting the server perhaps solve the email problem? I’m looking more for command confirmation (which should be “sudo shutdown -r now” if I understand correctly). Also, how can I access the server logs through PuTTY? I don’t have a Digital Ocean account myself but have the user credentials supplied by the former developer, as well as those for MySQL (I can log into ssh through PuTTY). Also, I have extremely limited experience with Linux but am willing to learn, so please take pity on a noob.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.