Closed lawrencerb closed 1 year ago
@lawrencerb , just so you know, TLS is not supported by NetX SMTP.
@lawrencerb , just so you know, TLS is not supported by NetX SMTP.
I didn't knew! I'm sorry and thank you for your reply.
No worries. We don't have a plan to support TLS in SMTP in the near future.
Is this request related to a particular hardware platform, SoC, board? Please describe. I am working with the NXP MIMXRT1060-EVK board, which uses an i.MX RT1060 crossover MCU. I am currently using Azure RTOS NetX Duo library for my project, specifically focusing on the SMTP client to send emails through an Outlook account (smtp.office365.com).
Describe why you are asking for this support? While implementing the SMTP client, I am encountering an authentication error (NX_SMTP_AUTH_REPLY_ERROR) when attempting to send an email using the smtp.office365.com server. I have tried different configurations, including using an SMTP relay configuration from the Outlook documentation: 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. However, I am still unable to resolve the issue.
I am asking for support to help me understand the cause of this error and identify the necessary steps or modifications required to send emails using the Azure RTOS NetX Duo SMTP client with the Outlook SMTP server.
Willingness to maintain Azure RTOS support If there are any updates or changes to the Azure RTOS support for the NXP MIMXRT1060-EVK board or the i.MX RT1060 SoC, I am willing to work with the Azure RTOS team to maintain and update the support as needed, ensuring compatibility and functionality for future projects.
Additional context I have provided a code snippet of my current implementation in a previous post. Please let me know if any additional information or context is required for understanding the issue.
Feel free to modify and add any relevant information before submitting your request. Modified the shared>source>networking.c to include the following:
Also:
My Stack also Include the DNS retriver:
It works, but the device prompts: Connecting to the network
Initializing DHCP MAC: 02:11:46:29:F8:65 IP address: 192.168.137.182 Mask: 255.255.255.0 Gateway: 192.168.137.1 SUCCESS: DHCP initialized
Initializing DNS client DNS address: 192.168.137.1 SUCCESS: DNS client initialized
Initializing SNTP time sync SNTP server 0.pool.ntp.org SNTP server 1.pool.ntp.org SNTP server 2.pool.ntp.org SNTP time update: Apr 7, 2023 17:55:56.981 UTC SUCCESS: SNTP initialized
Resolving SMTP server's IP address SUCCESS: SMTP server's IP address resolved Error sending the email. Status: 0xad.
0XAD stands for: #define NX_SMTP_AUTH_REPLY_ERROR 0xAD / Error in response to Client SMTP AUTH command /
Any answer is more than welcomed