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 />
5
We have maintained all functionality and added Exception handling unique to
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 />
13
Our new Exception handling provides your own scripts far more power than ever.<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 />
19
A few things to note about PHPMailer:
21
<li>the use of $mail->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.
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>
29
A note to users that want to use SMTP with PHPMailer. The most common problems are:
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.
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.
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
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>
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 />