Update lib/mail.php

Added three additional mail_smtp.. parameters.
- mail_smtpdebug - enable debug messages to analyse SMTP problems.
- mail_smtptimeout - set SMTP timeout which is set to 10s by
  default and this is sometimes to short especially if a malware/
  spam scanner is used.
- mail_smtpsecure - force secure SMTP connections.
Update config/config.sample.php

Added three additional mail_smtp.. parameters.
- mail_smtpdebug - enable debug messages to analyse SMTP problems.
- mail_smtptimeout - set SMTP timeout which is set to 10s by
  default and this is sometimes to short especially if a malware/
  spam scanner is used.
- mail_smtpsecure - force secure SMTP connections.
Update config/config.sample.php

Fixed type in line 70. Thank you for pointing me to that typo.
Update config/config.sample.php

fixed an other typo.
Merge pull request #1265 from j-ed/master

add additional mail_smtp.. parameters to fix possible SMTP connection problems.