Skip to content

Commit

Permalink
Update Outlook SMTP server; alternative example O365 scope values
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrob committed Jul 5, 2024
1 parent 48773b0 commit 23d3b4a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion emailproxy.config
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ server_port = 995
local_address = 127.0.0.1

[SMTP-1587]
server_address = smtp.office365.com
server_address = smtp-mail.outlook.com
server_port = 587
server_starttls = True
local_address = 127.0.0.1
Expand Down Expand Up @@ -199,6 +199,14 @@ redirect_uri = http://localhost
client_id = *** your client id here ***
client_secret = *** your client secret here ***

[your.email@outlook.com]
permission_url = https://login.microsoftonline.com/common/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/common/oauth2/v2.0/token
oauth2_scope = https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/POP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access
redirect_uri = http://localhost
client_id = *** your client id here ***
client_secret = *** your client secret here ***

[your.email@gmail.com]
permission_url = https://accounts.google.com/o/oauth2/auth
token_url = https://oauth2.googleapis.com/token
Expand Down

0 comments on commit 23d3b4a

Please sign in to comment.