Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crm/api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def create_email_account(data: dict):
"smtp_server": "smtp.sendgrid.net",
"smtp_port": 587,
},
"Brevo": {
"smtp_server": "smtp-relay.brevo.com",
"smtp_port": 587,
},
"SparkPost": {
"smtp_server": "smtp.sparkpostmail.com",
},
Expand Down
11 changes: 11 additions & 0 deletions frontend/src/components/Settings/emailConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { validateEmail } from '../../utils'
import LogoGmail from '@/images/gmail.png'
import LogoOutlook from '@/images/outlook.png'
import LogoSendgrid from '@/images/sendgrid.png'
import LogoBrevo from '@/images/brevo.svg'
import LogoSparkpost from '@/images/sparkpost.webp'
import LogoYahoo from '@/images/yahoo.png'
import LogoYandex from '@/images/yandex.png'
Expand Down Expand Up @@ -125,6 +126,15 @@ export const services = [
link: 'https://sendgrid.com/docs/ui/account-and-settings/two-factor-authentication/',
custom: false,
},
{
name: 'Brevo',
icon: LogoBrevo,
info: __(
'Brevo uses an SMTP key for authentication (not your account password). Create an SMTP key in Brevo and use it as the password here. Read more',
),
link: 'https://help.brevo.com/hc/en-us/articles/209467485-Create-an-SMTP-key',
custom: false,
},
{
name: 'SparkPost',
icon: LogoSparkpost,
Expand Down Expand Up @@ -167,6 +177,7 @@ export const emailIcon = {
GMail: LogoGmail,
Outlook: LogoOutlook,
Sendgrid: LogoSendgrid,
Brevo: LogoBrevo,
SparkPost: LogoSparkpost,
Yahoo: LogoYahoo,
Yandex: LogoYandex,
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/images/brevo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.