The SMTP mail system returned the following error: "Command not implemented

LambaLamba Member Posts: 260
edited 2016-04-19 in NAV Three Tier
Hi,
Whenever i try to send auto mail Job queue that calls the SMTP Mail codeunit.
It gives following error:
"The SMTP mail system returned the following error: "Command not implemented. The server response was: 5.3.3 Command not implemented"."

The following is implemented on the SMTP Mail setup
1. Correct Server name: Smtp.test.com
2. Correct User name and password.
3. Port : 587 (that is open)
4. Secure connection : Yes

They are using Office 365, initially other local server was used, through which the mail was going fine.
But after changing the server, this issue occured.



Answers

  • OldNavDogOldNavDog Member Posts: 88
    Have you tried using the Debugger to see what Function is Erroring? That might help some of us help you...
    Experience is what you get, when you don't get what you want. --Anon.
  • RockWithNAVRockWithNAV Member Posts: 1,139
    Hey Lamba,

    I think your Firewall may be the cause which is blocking this and letting you get this error.
  • LambaLamba Member Posts: 260
    Hey RockwithNav,
    I have cross checked the Firewall issue, there is no blocking.

    Hey OlNavDog - I have debugged the issue, it stops at SMTP.Send.
  • LambaLamba Member Posts: 260
    The cloud server is sharepoint, is it like it is not supporting the SSL encryption type, is it so that the Microsoft sharepoint doesn't support SSL type of encryption type.

    As i tried setting up the outlook on my pc, where the client and development environment is setup. This is the following error, when i setup the Encryption type as SSL:

    “Send test e-mail message: Your server does not support the connection encryption type you have specified. Try changing the encryption method. Contact your mail server administrator or Internet service provider (ISP) for additional assistance.”
  • Peter+is1Peter+is1 Member Posts: 174
    Hi Lambda,

    Because you say Sharepoint....

    SMTP connection encryption

    The following list shows the SharePoint 2016 requirements that are needed to negotiate connection encryption with an SMTP server:
    - STARTTLS must be enabled on the SMTP server.
    - The SMTP server must support the TLS 1.0, TLS 1.1, or TLS 1.2 protocol.
    - Important: SSL 2.0 and SSL 3.0 protocols are not supported.
    - The SMTP server must have a server certificate installed.
    - The server certificate must be valid. Typically, this means that the name of the server certificate must match the name of the SMTP server provided to SharePoint. The server certificate must also be issued by a certificate authority that is trusted by the SharePoint server.
    - SharePoint must be configured to use SMTP connection encryption.

    \\
    The truth exists in seven versions.
  • LambaLamba Member Posts: 260
    Hey Peter,
    Thanks for your help.

    i tried the other smtp address provided:

    domail-com.mail.protection.outlook.com

    For Eg:
    Test-com.mail.protection.outlook.com , Here Test is the domain name,, i guess

    and it's finally working fine. :smiley:

    Thanks a lot people.
Sign In or Register to comment.