We have configured the SMTP settings in our MOSIP system for triggering the mail notifications. But, when we initiate the mail OTP from Pre-RegUI, it is asking me to enter the OTP but I haven’t received any. I have checked with both official and personal ID(GMAIL) but didn’t receive any OTP. I even verified logging in with the mail ID which I configured in the MOSIP system and sent the mails manually and able to send/receive. We are also able to see the relative logs in the prereg-application with 200 response. Kindly check and let us know if we missed anything.
Please find the below screenshots for your reference.
We also observed that this value has been hardcoded in the kernel default properties file which could also be the reason for our mail server to block the mail with anonymous address.
For your second question, we have deployed mock-smtp service as part of the all MOSIP modules installation. When we deploy actual smtp service, this can be replaced right?