Forums

Is it possible to use Wireshark to diagnose SMTP problem?

I'm trying to use Sendgrid to send email from a contact form on my PA site, using this approach: https://learndjango.com/tutorials/django-email-contact-form

But any test emails result in an error like: smtplib.SMTPServerDisconnected: Connection unexpectedly closed

Tech support at Sendgrid suggested using Wireshark to analyze SMTP traffic, but is it possible to do that on a hosted site at PA, or is that something I would need to try on my own development version (away from PA, where I would have sufficient privileges)?

Ken

No, you will not be able to use wireshark on PythonAnywhere.