Skip to content

Amazon S3 bucket and SMTP server integration

Emil Johnsen edited this page Apr 6, 2024 · 2 revisions

Setting Up Your Own SMTP Mail Server and Amazon S3 Bucket

In our project, we utilize an SMTP mail server for sending emails to users who have forgotten their passwords. Additionally, we utilize an Amazon S3 bucket for storing quiz and question images, profile pictures, and other relevant images.

Setting Up Your Own SMTP Mail Server

Setting up your own SMTP mail server is straightforward. In this guide, we will use the website "Brevo," but you can choose any SMTP mail server you prefer.

  1. Sign Up: Visit Brevo's website and sign up for the free plan, which provides up to 100 emails per day from your server. If you require more, you may need to opt for a billing plan or explore other SMTP server options.

  2. Dashboard: After signing in and selecting your desired plan, you'll land on the dashboard. From there, navigate to the top right dropdown menu and select "SMTP & API."

    SMTP & API

  3. Credentials: On the SMTP & API page, you'll find your SMTP mail server credentials. You can choose to generate a new password if desired.

    SMTP Credentials

    • SMTP_EMAIL: The email associated with the SMTP account (Login).
    • SMTP_HOST: The address for the SMTP server.
    • SMTP_PASSWORD: The master password.

Now, let's move on to setting up your Amazon S3 bucket.