integrate office365 SMTP with oracle database

Munir Mahmud 21 Reputation points
2021-02-21T11:57:58.49+00:00

Hi,

I need to integrate SMTP relay fromoffice365 smtp server with oracle database. But I can't do that. I tried the following

[root@vobon-machine-01 opc]# telnet smtp.office365.com 25
Trying 52.98.34.194...
Connected to smtp.office365.com.
Escape character is '^]'.
220 BM1PR01CA0145.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 21 Feb 2021 11:42:19 +0000
helo domain
250 BM1PR01CA0145.outlook.office365.com Hello [140.238.163.224]
mail from: munir@vobon.xyz
451 5.7.3 STARTTLS is required to send mail [BM1PR01CA0145.INDPRD01.PROD.OUTLOOK.COM]
Connection closed by foreign host.
[root@vobon-machine-01 opc]#

Please help to implement smtp server with oracle database.

Thanks

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,360 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,211 Reputation points
    2021-02-22T02:17:12.513+00:00

    @Munir Mahmud

    Here are some information that I found from Oracle:

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    I don't familiar with Oracle, those articles may not correct, you can confirm with the Oracle support: https://www.oracle.com/corporate/contact/ , then we can know which configuration needed for Oracle, after that we could do related configuration on Exchange online.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 142.3K Reputation points MVP
    2021-02-21T13:11:12.547+00:00

    Your Oracle needs to send mail over TLS, it not:

    1. It's using "helo domain" instead of EHLO
    2. 451 5.7.3 STARTTLS is required to send mail

    To fix, follow this doc:
    https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365

    70326-image.png

    0 comments No comments