SMTP Configuration
Log in to your cPanel, navigate to the File Manager
Find your website files, open the core folder, and select the .env file to edit
You can enter your SMTP information in the following fields
MAIL_HOST: Enter the hostname of your SMTP server (e.g.,
smtp.mailtrap.io
).MAIL_PORT: Specify the port number used for the SMTP connection (e.g.,
587
).MAIL_USERNAME: Enter your SMTP username for authentication.
MAIL_PASSWORD: Provide the password associated with your SMTP username.
MAIL_ENCRYPTION: Set the encryption method to use for secure communication. You can use
TLS
orSSL
.MAIL_FROM_ADDRESS: Specify the email address that will appear as the sender (e.g.,
"[email protected]"
).
Once you have filled in all the required fields, click Save to apply your changes.
Last updated