27.09.2011
I moved my Joomla! website from localhost to hosting. On localhost Joomla! phpmail was not configured and CB wasn't installed.
29.09.2011
I installed CommunityBuilder (Comprofiler+cblogin) and sow, that users didn't get approval email during registration using cblogin. Using Joomla! registration users didn't get approval email too.
03.10.2011
According to instruction in my provider's FAQ I configured Site/Global Configuration/Server/mail settings (to send mails via phpmail).
And according to my providers FAQ manually changed in file /libraries/phpmailer/phpmailer.php line
$params = sprintf("-oi -f %s", $this->Sender);
to
$params = '';
Joomla! registration mail started work correctly, but CBlogin mail still was not working.
05.10.2011
Configured file administrator/components/com_comprofiler/library/phpmailer/phpmailer.phpmailer.php. in the same way, as /libraries/phpmailer/phpmailer.php
After this modification everything works good.
To tipana: you can copy *.php files from ftp to your local machine using any ftp-client than edit these files using notepad.exe and than copy modified files to ftp. Or using web2ftp on your hosting control panel.