TOPIC: Can't receive system email.

Please help to solve problem as below:
A.After creat a users, the user can not receive an email with a generated password which was sent from system.
B.After submit a survey,administrator also can't receive an Email,but In system,the Admin Notification is set as "Basic email notification".
Thanks for your support!

The administrator has disabled public write access.

JavaScript is currently disabled.Please enable it for a better experience of Jumi.

After sumit a survey, Error info as below:
Warning: fsockopen() [function.fsockopen]: unable to connect to smtpl.example.com:25 (Connection timed out) in /usr/local/apache2/htdocs/limesurvey/classes/phpmailer/class.smtp.php on line 109

Check this, the example.com SMTP email setting shown at the error message indicates that you changed the setting at the wrong place. Setting at global settings (-> email in your case) overwrite all settings in config.php