When you have uploaded the script, you will see an installation form. You can skip the manual configuration below.
In the root of the project there is a file named
.env.example. Duplicate this file to
.env and open it with an editor. After configuring all settings, upload the file.
Make sure there is a dot (.) in front of the file name. If you rename the file in Windows check this out.
If you use mailgun, change:
And enter settings accordingly as found here.
MAIL_DRIVER=mailgun MAIL_HOST=smtp.mailgun.org MAIL_PORT=587 MAIL_ENCRYPTION=tls MAIL_USERNAME=[SMTP username] MAIL_PASSWORD=[SMTP password] # Mailgun settings (optional) MAILGUN_DOMAIN=[your mailgun domain, e.g. mg.example.com] # You can find the Private API key by logging in to your Mailgun dashboard # and navigate to Settings > API Security. MAILGUN_SECRET=[Private API key] # Uncomment the line below if you want to specify the Mailgun endpoint. # By default api.mailgun.net is used. # The values can be api.mailgun.net, api.eu.mailgun.net or api.us.mailgun.net # depending on the region you selected in the Mailgun dashboard. # MAILGUN_ENDPOINT=api.eu.mailgun.net
Edit .env file
After editing and uploading this file, proceed with the next step.