Using SMTP
Using SMTP
The SMTP protocol is an open standard. It is used by all companies to send emails. You are about to find a native function or library whatever programming language or platform used
Furthermore the SMTP protocol is simple to use. Once the identification parameters entered, you just have to pass the following fields to send your emails
- to : recipient email address
- subject : subject of email
- message : your message
SMTP can be very powerful through the use of optional parameters such as adding a sender email address, parameters in headers.
Handle return codes
The return codes can help you debug the integration of Tipimail. Returns code are constituted in a series of three digits to indicate the status of the request. The first digit of the return code indicates the overall status of the request, the 2 other numbers give status detailed.
- code 2 : the request was executed without error
- code 3 : the request is running
- code 4 : indicates a temporary error
- code 5 :the request is not valid and could not be processed
Here the main return code that you can meet. For more informations about SMTP return, you can read this article from the SMTP RFC .
Code | Signification |
---|---|
220 | First code returned by the server when the connection was successful. |
250 | Order confirmation accepted. |
354 | Response to the DATA command. The server waits for data from the message body. The customer indicates the end of the message by a single point on a line : |
420 | Connection timed out |
421 | Temporary failure at the connection. It may be that the server is overloaded, the maximum number of connections from a single IP address is reached, there is an applied IP restriciton or the service is unavailable. |
452 | Temporary failure: maximum number of recipients reached. |
550 | Permanent Failure. The mailbox does not exist or the recipient's address is invalid. |
554 | Standing failed at the connection |
Send emails from your system
You can easily integrate Tipimail within your system either from an application that you developed or from an existing platform
You will find documentations for most platforms and programming languages