Well,
First I receive this info from my hosting server....
I want to inform you that you could not send e-mail from php script using SMTP server as we have not SMTP authentication on it. To send e-mails you should use php Mail Function, also it is necessary to add string this string:
ini_set('sendmail_from', 'webmaster@domain.com');
into your php script before mail() function.
Please try to do it and then check if your e-mail could be successfully sent and received.
So I enter the file ...libraries/phpmailer/smtp.php
and changes this lines in order to get the activation email from the ORIGINAL joomla login component.
the numbers at the beginning are the lines numbers.
61 var $From = "webmaster@domain.com";
67 var $FromName = "Webmaster Cangrejo";
74 var $Sender = "webmaster@domain.com";
134 var $ConfirmReadingTo = "webmaster@domain.com";
142 var $Hostname = "mail.domain.com";
156 var $Host = "mail.domain.com";
433 ini_set('sendmail_from', 'webmaster@domain.com');
442 ini_set('sendmail_from', ''webmaster@domain.com');
This is the changes I did in the CB file
/administrator/components/com_comprofiler/library/phpmailer/phpmailer.phpmailer
76 var $From = 'webmaster@domain.com';
82 var $FromName = 'WebMaster ';
89 var $Sender = 'webmaster@domain.com';
149 var $ConfirmReadingTo = 'webmaster@domain.com';
157 var $Hostname = 'mail.domain.com';
171 var $Host = 'mail.domain.com';
I'm not sure what I did but assuming that my host server needs some kind of real POP3 account of the same domain as the sender email, I suppose these lines should include that info.
It just worked.
Thanks again to you all.