index.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. This release of PHPMailer (v5.0.0) sets a new milestone in the development
  2. cycle of PHPMailer. First, class.phpmailer.php has a small footprint (65.7 Kb),
  3. while class.smtp.php is even smaller than before (at only 25.0 Kb).<br />
  4. <br />
  5. We have maintained all functionality and added Exception handling unique to
  6. PHP 5/6.<br />
  7. <br />
  8. There is only one function that has been removed: that is getFile(). The reason
  9. for this is that getFile() became a wrapper for the PHP function 'file_get_contents()'
  10. and nothing more. Rather than burden the class with a function already available
  11. in PHP, we decided to remove it.<br />
  12. <br />
  13. Our new Exception handling provides your own scripts far more power than ever.<br />
  14. <br />
  15. We have also enhanced the "packaging" of PHPMailer with an entirely new set of
  16. examples. Included are both basic and advanced examples showing how you can take
  17. advantage of PHP Exception handling to improve your own scripts.<br />
  18. <br />
  19. A few things to note about PHPMailer:
  20. <ul>
  21. <li>the use of $mail-&gt;AltBody is completely optional. If not used, PHPMailer
  22. will use the HTML text with htmlentities().<br />
  23. We also highly recommend using HTML2Text authored by Jon Abernathy. The class description
  24. and download can be viewed at: http://www.chuggnutt.com/html2text.php.
  25. </li>
  26. <li>there is no specific code to define image or attachment types ... that is handled
  27. automatically by PHPMailer when it parses the images</li>
  28. </ul>
  29. A note to users that want to use SMTP with PHPMailer. The most common problems are:
  30. <ul>
  31. <li>wrong port ... most ISP (Internet Service Providers) will not allow relaying through
  32. their servers. If that's the case with your ISP, try using port 26.
  33. </li>
  34. <li>wrong authentication information (username and/or password) ... don't forget that
  35. many servers require the account name to be in the format of the full email address.
  36. </li>
  37. <li>... if these tips do not get your SMTP settings working, we have a debug mode
  38. for helping you determine the problem. Insert this after $mail->IsSMTP();<br />
  39. $mail->SMTPDebug = 2; // enables SMTP debug information (for testing)<br />
  40. note that a setting of 2 will display all errors and messages generated by the SMTP
  41. server<br />
  42. </li>
  43. </ul>
  44. Our examples all use an HTML file in the /examples folder. To see what the email SHOULD
  45. look like in your HTML compatible email viewer: <a href="contents.html">click here</a><br>
  46. <br />
  47. From the PHPMailer team:<br />
  48. Author: Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net (and Project Administrator)<br />
  49. Author: Marcus Bointon (coolbru) coolbru@users.sourceforge.net<br />