There is a domain mydomen.ru. There is a dedicated server where the site. It is necessary to confirm the registration of users and send a password reminder to the mail. And so that the user receives a letter from the mailbox of the same domain as the site.
The site connects to the smtp server for example mail.nic.ru on port 2525, sends the mailbox a password to it and the encryption type (tls). Then the server should send a letter to the addressee.
I tried these options:
- Google Mail (smtp.gmail.com). Slowly sends letters (5-20 seconds of waiting). Sometimes it does not reach.
- nic.ru - mail.nic.ru (paid costs 160 rubles per month) works only on port 2525 or 587, and does not respond to 25 each. Slowly sends (5-20 seconds), 10% of letters do not come.
- Start your smtp server. Emails are sent in 1 second. But here it is necessary that the provider that manages this server places a ptr entry for its ip address, otherwise the email does not come with a spam filter. And the provider does not want to do this.
1) How, in these conditions, make the connection and transfer of the smtp server a letter sent by the scripts of the site in 1 second, as in most sites?
2) So that letters are always delivered, not randomly? Is there any external smtp server with reliable sending emails and fast.