I have an Ubuntu server where an application made in C ++ that uses the boost library to send email from a < em> GMail . This part of the program was made by another person with whom I no longer have contact.
Now I have created a twin server (server B) with the same application. When the program on Server B tries to send an email, just write the log email not present .
I think it's obvious that there is something outside the C ++ application that is on server A and not on B , and it's what makes A send emails and B can not.
I noticed that the A server had the sendmail daemon working and the B did not, so I installed Sendmail on the B server and I copied the configuration files. No luck. Maybe I forgot to copy something or maybe Sendmail is not what is being used to send emails.