Python - Setup Guide
- The following code example is a simple demonstration of how you can send a message using the Python programming language via an AuthSMTP account.
- This code should not be used in a production environment without adding error handling and input sanitisation.
- You should ensure that your code is able to gracefully handle errors in not being able to transmit messages to our network. While we endeavour to provide maximum availability for our service there is always the possibility of connectivity or other technical issues beyond our (or your) control. Ideally error handling, logging, message queueing (with retry) and monitoring should all be considered.
- Before copying this code to a server for testing please replace the items in step 4 with your own AuthSMTP credentials.
We cannot provide assistance with coding issues but if you are receiving an error from our service and require assistance please login to the control panel and raise a support ticket.