Configure SMTP for outbound emails

You can enable MyBB to send emails using SMTP. To do this:

  • Log in to your Administration Control Panel and navigate to the “Configuration” menu.

  • Search for “Mail Settings” and enter your credentials.

For example, if you want to use a Gmail account to send an email, use inputs like the ones below (leaving the rest of the fields with their default value or as you want). Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

    Mail handler: SMTP Mail
    SMTP hostname:
    SMTP port: 587
    SMTP username:
    SMTP password: PASSWORD
    SMTP Encryption Mode: TLS encryption

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.

NOTE: If you are using Gmail as the outbound email server and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.

Last modification January 18, 2019