Thanks in advance for your quick response.
Yes, if I connect my pc to tp-link, and simulate, it sends the email normally.
I already changed the tp-link for another new one and the result is the same.
But I tell you that I can normally connect to the hmi via wi-fi and make the changes I need via the wi-fi network, but when it sends the email, nothing is done.
I have also reviewed the email settings and they are correct. I don't understand what's going on.