While sending the test email it thrown error as "The SMTP server requires a secure connection"

While sending the test email it thrown error as "The SMTP server requires a secure connection"

Environment:

iVend Version 6.6

Problem Statement:

While sending the test email it thrown error as
“The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 authentication required”.
Error Screenshot: 



Solution:

Please check the below information to solve the issue.
1: Make sure that all SMTP details should be correct like server host, user name, password and server port.  
Note: If using server host as “smtp.gmail.com” then default port would be as “587”.
2: Enable SSL field should be checked
3: Make sure the email is allowed for less secure app access.
For Gmail, please refer below link: -


If you were not able to ON the option  “allow less secure apps” and showing the message as below screenshot then follow further steps to resolve the issue.


Log into Gmail and navigate to: Account => Security. Find the option as "Signing in to Google" and click on "App Passwords" then follow the below steps:
1. Select an app option as "Other (Custom Name)" and give the name as "iVend".
2. Click on Generate Button
3. Copy the Password and Log into the iVend Management Console and navigate to: Administration > System Initialization > Communication Settings – the Communication Settings page should come up and under SMTP Details, paste the password  on field as "User Password".
4. Test the email and it should work fine. 


    • Related Articles

    • Error while sending Test email " The SMTP server requires a secure connection"

      Problem Statement: Getting error while sending Test email "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send". Propose Solution: Please check ...
    • Email showing error message through schedule "Failure sending mail"

      Environment: iVend Version 6.6 with SAPB1 10 Problem Statement: Email showing error message through schedule "Failure sending mail" Symptoms: Email showing error message through schedule "Failure sending mail". The error is displayed in schedule log ...
    • Test email showing error message "Failure sending mail"

      ******Internal to CitiXsys****** Environment: iVend Version 6.6 with SAP B1 10 Problem Statement: Test email showing error message "Failure sending mail" Symptoms: Test email showing error message "Failure sending mail". below error message show in ...
    • Scheduler with SMTP.Office365.com, TLS

      Environment: iVend 6.6 Problem statement : While sending the Email from iVend MC using SMTP.Office365.com, it displays the error "Failure sending email..." <InnerExceptionInfo> <Type>System.IO.IOException</Type> <Message>Unable to read data from the ...
    • Steps to enable email Transaction Receipt functionality

      Steps to enable email Transaction Receipt functionality: - 1. Configure the SMTP Details for email. To open the screen, choose Administration > System Initialization > Communication Settings. Note: - In case you are facing error message "The SMTP ...