There are a number of guidelines regarding SMTP:
Reliability
- Messages that are submitted to Spotler SendPro will be confirmed by a 250 Queued xxxxxxxxxxxxxxxxxxxxxx response. Only when this response is received, a source system should assume the message will be handled by SendPro.
- In any system integration, eventually individual connections/message submit will fail. To prevent loss of messages, a retry mechanism, preferably backed by a queue system, is required.
- The SendPro SMTP service can be reached by multiple IP addresses. Retries should be preferably done to different IP addresses to maximize availability.
Security
- Always use STARTTLS or TLS connections and check the validity of the offered certificate.
- Use separate credentials for different source systems and instances. Also, make sure these credentials have their minimum required role assigned; i.e. you don't need Admin privileges to submit messages.
Maintainability
- Your client should accept any valid certificate if a trustworthy chain can be established. Please do not register the current certificate in use, to prevent problems when it's replaced.
- Our service IP addresses change rarely, however, please connect using our DNS names and configure your environment to adhere to DNS record changes.
Performance
- Any oAuth2 tokens are valid for multiple requests. Please use them for as long as they're valid, especially in batch processes.
- Optimize sending multiple messages using a single connection. Establishing TLS connections is relatively slow and should be avoided.
- Enable Pipelining if possible.
- If you need more performance and eliminate the effects of latency, please feel free to connect up to 10 times concurrently per client IP.
Fair use
- Avoid unnecessary load and unused connections.