SMTP are the acronyms of Simple Mail Transfer Protocol. Basically, it is the protocol used to send emails over the Internet. Think of it as the “digital postman” that collects your emails and delivers them to the destination mailbox.
When your App sends emails (such as notifications, passwords, newsletters, etc.), it needs an SMTP server to manage and distribute those messages.
Greater credibility and trust
When using your own email, recipients will see an email that matches the customer's domain (for example, notifications@yourdomain.com) instead of a generic address. This projects a professional and trustworthy image.
Better delivery rate (deliverability)
Setting up SMTP with a verified and well-configured domain helps prevent emails from falling into the spam folder as easily, because email providers (Gmail, Outlook, etc.) recognize that the email comes from a legitimate source.
Full control over email settings
Each customer can choose the sending frequency, email limits, security and authentication policies, and other aspects that can improve the performance and security of their communication.
Customizing the Reply Address
By having your own SMTP, it is also possible to configure a response address (Reply-To) that redirects incoming emails to a specific mailbox, facilitating interaction with App users.
Example: If we were configuring SMTP for the Scoreapps App, the fields would be completed as follows:
smtp.yourdomain.com, smtp.gmail.com, smtp.mail.yahoo.com, etc.587 (with TLS)465 (with SSL)25 (without encryption or with STARTTLS encryption, although it is used less and less).Server (hostname) and port:
It is usually given by the email provider. In Gmail, for example, it is smtp.gmail.com and the port is usually 465 (SSL) or 587 (TLS). On your hosting, it can be mail.yourdomain.com or something similar.
Username and password:
It is the email and password with which you log in to your email account. Be careful with providers like Google, if you use two-step verification, you will have to create a specific application password from the Google account.
Security type (SSL/TLS):
It is also something that your email provider will tell you. In Gmail and Outlook, it is common to use TLS (port 587) or SSL (port 465).