Uups... / #5324

I swear i just wanted to look into the mail code, but some hours later i found myself with working smtp.
You can find a patch in SMTP Patch for v0.08. (Dont know how to svn this yet).

Some comments:
  • first of all: have not coded in php for years and wow, php5 really rocks!
  • Thanks for the htmlMimeMail5 link! I used this as mail engine.
    • unfortunately htmlMimeMail5 triggers some php5-strict errors link "should not be called statically" which i don not understand yet so i switched lower error reporting for a few lines.
    • i expanded htmlMimeMail5: it now collects a smtp transcript and if there is a smtp error, the transcript goes to error log
    • only with that i found anoher issue: at least my provider refuses mails that contain bare lf in the text part. changed all lf to crlf.
  • added appropriate config variables to conf.inc.php and example-of-customize.inc.php (which i enriched a bit)
  • did some cleanup
  • error handling via $g_mail_errors is no longer used, someone may clean this up in errorhandling.
What happens next? I think i can do some more issues on mail.inc.php, which i now know quite well.