I need a system where I am notified when a customer fills the contact form. I am using the SendGrid Python API tutorial here. and I get a 500 server error. It works fine in development and I am even able to send mock emails accessing Python console on Ubuntu. Is the problem related to the blocking of SMTP port or is it something else. Any help would be appreciated.
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.