Hi Ken
Thanks to answer me
Moodle site is in shared host, son i can't install a mailer
The cron job is executed often and output doesn't have a text job/task related to mail
The confirmation email o password reset are not sent because they have a link and a few paragraphs of text
If a put the code i've created in a php file, like the above example, it did send a short email to gmail or hotmail; but when a email has a lot of text and a link, it doesn't arrive to inbox/spam in hotmail or gmail.
So, i think short emails or if it doesn't have a link, hotmail or gmail don't detect and it can arrive
Can I modify the php file from Moodle to cut some text or change the link confirmation, so gmail or hotmail don't refuse the arrive?
Which is this file i must change?
Is there another solution to this problem?
Thanks in advance!!!