I am unable to receive emails from two email providers/services:
The only time I get an email is when using localhost/my laptop but that's the same code I use on a GoDaddy site.
The code used for localhost/my laptop and on GoDaddy is as follows:
The code for SendGrid is as follows: