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.gmail.com SMTP port: 587 SMTP username: USERNAME@gmail.com 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, your application’s attempts to send outgoing emails may be blocked by Gmail if it considers the authentication attempts to be suspicious. When this happens, you will receive a Gmail security alert at the corresponding Gmail address. To proceed, you will need to manually confirm the validity of the authentication attempt before Gmail will permit the application to send outbound emails. For more information on this and other Gmail issues related to outbound email from your application, refer to our Gmail SMTP troubleshooting page.