Issue while trying to configure outgoing mail server - odoo

I tried setting up the outgoing server with the following credentials:
SMTP Server : smtp.office365.com, SMTP Port : 25, Connection Security :TLS (STARTTLS), Username : ***, Password : ***
The Test connection is successful, but my outgoing mail is failed with the following message:
Mail delivery failed via SMTP server 'smtp.office365.com'.
SMTPDataError: 554
5.2.252 SendAsDenied
Any clue will be helpful..

Try to set right configurations for outgoing SMTP server based on Google guides.
The outgoing SMTP server, smtp.gmail.com, supports TLS. If your client
begins with plain text, before issuing the STARTTLS command, use port
465 (for SSL), or port 587 (for TLS).

Related

Setting Outgoing Emails Servers in Odoo

I'm trying to set-up outgoing email server in Odoo for my Organization.
For doing so the system request for username and password along with server details,
Now we have around 15 users in Odoo.
Do we need to enter all usernames individually?
Odoo is not a mail server.
You have to configure with your any of your official mail accounts (gmail/outlook/any other official mail service you have for your office). odoo will use those to send mail.
Description: A description for the outgoing mail server.
SMTP server: The pointer to the SMTP of your server, ex. smtp.gmail.com .
SMTP port: The port of your SMTP server, ex. 465 for Gmail.
Connection security: You should choose SSL/TLS for Gmail.
Username: Your e-mail account, like: youremail#gmail.com
Password: Password of your e-mail account.
SMTP Server :- smtp.gmail.com
SMTP Port :- 465
Connection Security :- SSL/TLS
Username :- Your mail account
Password:- Password of your email account
The following fields are needed to configure the mail server.
Description :-> A description of the Outgoing mail server
Priority :-> Priority of your outgoing mail server. Low priority mail servers are used first and mostly.
SMTP Server :-> The server SMTP e.g, zsmtp.hybridzimbra.com(for Thunderbird)
SMTP Port :-> The SMTP port of your server e.g, 465 (for Thunderbird)
Connection Security :-> Security to be used like TLS(STARTTLS) or SSL/TLS. Use SSL/TLS for Thunderbird
Username :-> Your e-mail account.
Password:-> The password of your e-mail account.
I think the following document should help you out.
https://www.odoo.com/documentation/15.0/applications/general/email_communication/email_servers.html

Exchange 2016 - IMAP/SMTP Auth on port 587

need help with Outlook, to use smtp port 587 for outgoing mail.
The problem is, I cannot authenticate user on port 587 (Client Frontend Connector), but if I change SMTP port to 465 (Client Proxy connector), then AUTH is working.
The port 25, for anonymous is working, but I want to AUTH users. Why is port 465 working and 587 is rejecting AUTH?
Probably because you haven't upgraded to a TLS connection using the STARTTLS SMTP command before trying to use the AUTH command.

KEYCLOAK Test Connection doesn't work "Error! Failed to send email"

I am trying to use the Forgot Password function for my Keycloak authentication. So I have already set On for the Forgot Password in the Login section. And I have tried to set up the configurations under Realm Email.
In the email tab I entered
host smtp.gmail.com
smtp port 465
username ***#gmail.com
SSL enabled
Authentication - enabled with username and password
But when i'm testing the connection, I keep getting the error "Error! Failed to send email".
Any Help would be highly appreciated, Thank you.
You need to provide your email address to Keycloak administrator's email address, and turn on "Allow less secure apps" on Google account settings page.
https://support.google.com/accounts/answer/6010255?hl=en
If succeed, you can see SMTP test message from Keycloak in your mail box.
Here you have used the wrong port with enabling SSL
If SSL is enabled ---> port should be 456
If StartTLS is enabled ---> port should be 587

Domino Client was not authenticated to send anonymous mail during MAIL FROM

I have a Domino server v8.5.3. FixPack 6 with the Interim fix 853FP6HF3180_W32 and I have to send emails through smtp.office365.com via SSL. I have enabled the SSL negotiadted over TCP/IP port in the configuration document and the SMTP outbound (port 25) negotiated SSL.
I get the next error:
Error transferring to outlook-xxxxxxxx.OFFICE365.COM; SMTP Protocol Returned a Permanent Error 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [XXXXXXXXXXXXXX.outlook.com]

How to add SSL (TLS) for outgoing SMTP server in virtualmin?

I have setup centos7 server with virtualmin installed. I am using postfix as MTA but it shows that my outgoing (smtp) server is not encrypted. How to encrypt my outgoing smtp server running on port 587?
hostname: host.crystalsoft.com.np