Code syncronized with shipsimu code base
[mailer.git] / inc / classes / third_party / php_mailer / docs / faq.html
diff --git a/inc/classes/third_party/php_mailer/docs/faq.html b/inc/classes/third_party/php_mailer/docs/faq.html
new file mode 100644 (file)
index 0000000..54ac183
--- /dev/null
@@ -0,0 +1,67 @@
+<html>\r
+<head>\r
+<title>PHPMailer FAQ</title>\r
+<style>\r
+body, p {\r
+  font-family: Arial, Helvetica, sans-serif;\r
+  font-size: 12px;\r
+}\r
+div.width {\r
+  width: 500px;\r
+  text-align: left;\r
+}\r
+</style>\r
+</head>\r
+<body bgcolor="#FFFFFF">\r
+<center>\r
+<div class="width">\r
+<h2>PHPMailer FAQ</h2>\r
+<ul>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>I&#039;m using the SMTP mailer and I keep on getting a timeout message\r
+  well before the X seconds I set it for.  What gives?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> PHP versions 4.0.4pl1 and earlier have a bug in which sockets timeout\r
+  early.  You can fix this by re-compiling PHP 4.0.4pl1 with this fix:\r
+  <a href="timeoutfix.diff">timeoutfix.diff</a>. Otherwise you can wait for the new PHP release.<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>I am concerned that using include files will take up too much\r
+  processing time on my computer.  How can I make it run faster?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b>  PHP by itself is very fast.  Much faster than ASP or JSP running on\r
+  the same type of server.  This is because it has very little overhead compared\r
+  to its competitors and it pre-compiles all of\r
+  its code before it runs each script (in PHP4).  However, all of\r
+  this compiling and re-compiling can take up a lot of valuable\r
+  computer resources.  However, there are programs out there that compile\r
+  PHP code and store it in memory (or on mmaped files) to reduce the\r
+  processing immensely.  Two of these: <a href="http://apc.communityconnect.com">APC\r
+  (Alternative PHP Cache)</a> and <a href="http://bwcache.bware.it/index.htm">Afterburner</a>\r
+  (<a href="http://www.mm4.de/php4win/mod_php4_win32/">Win32 download</a>)\r
+  are excellent free tools that do just this.  If you have the money\r
+  you might also try <a href="http://www.zend.com">Zend Cache</a>, it is\r
+  even faster than the open source varieties.  All of these tools make your\r
+  scripts run faster while also reducing the load on your server. I have tried\r
+  them myself and they are quite stable too.<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>What mailer gives me the best performance?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> On a single machine the <b>sendmail (or Qmail)</b> is fastest overall.\r
+  Next fastest is mail() to give you the best performance. Both do not have the overhead of SMTP.\r
+  If you have you have your mail server on a another machine then\r
+  SMTP is your only option, but you do get the benefit of redundant mail servers.<br />\r
+  If you are running a mailing list with thousands of names, the fastest mailers in order are: SMTP, sendmail (or Qmail), mail().<br /><br /></li>\r
+\r
+  <li><b style="background-color: #FFFF00">Q:</b> <b>When I try to attach a file with on my server I get a\r
+  "Could not find {file} on filesystem error".  Why is this?</b><br />\r
+  <b style="background-color: #FFFF00">A:</b> If you are using a Unix machine this is probably because the user\r
+  running your web server does not have read access to the directory in question.  If you are using Windows,\r
+  then the problem probably is that you have used single backslashes to denote directories (\).\r
+  A single backslash has a special meaning to PHP so these are not\r
+  valid.  Instead use double backslashes ("\\") or a single forward\r
+  slash ("/").<br /><br /></li>\r
+\r
+</ul>\r
+\r
+</div>\r
+</center>\r
+\r
+</body>\r
+</html>\r