Permalink
Browse files

Update PHPMailer

Signed-off-by: Simone <hello@simonewebdesign.it>
  • Loading branch information...
1 parent b8b50d9 commit ef2f4d474fa92bbe6fa4217e33d1e80e17542e95 @simonewebdesign committed Mar 24, 2013
Showing with 5 additions and 16,255 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 PHPMailer
  3. +0 −504 PHPMailer_5.2.1/LICENSE
  4. +0 −225 PHPMailer_5.2.1/README
  5. +0 −421 PHPMailer_5.2.1/changelog.txt
  6. +0 −2,532 PHPMailer_5.2.1/class.phpmailer.php
  7. +0 −410 PHPMailer_5.2.1/class.pop3.php
  8. +0 −818 PHPMailer_5.2.1/class.smtp.php
  9. +0 −92 PHPMailer_5.2.1/docs.ini
  10. +0 −13 PHPMailer_5.2.1/docs/5.0-phpdocs/blank.html
  11. +0 −36 PHPMailer_5.2.1/docs/5.0-phpdocs/classtrees_PHPMailer.html
  12. +0 −1,152 PHPMailer_5.2.1/docs/5.0-phpdocs/elementindex.html
  13. +0 −1,149 PHPMailer_5.2.1/docs/5.0-phpdocs/elementindex_PHPMailer.html
  14. +0 −24 PHPMailer_5.2.1/docs/5.0-phpdocs/index.html
  15. +0 −40 PHPMailer_5.2.1/docs/5.0-phpdocs/li_PHPMailer.html
  16. +0 −27 PHPMailer_5.2.1/docs/5.0-phpdocs/packages.html
  17. +0 −17 PHPMailer_5.2.1/docs/Callback_function_notes.txt
  18. +0 −55 PHPMailer_5.2.1/docs/DomainKeys_notes.txt
  19. +0 −23 PHPMailer_5.2.1/docs/Note_for_SMTP_debugging.txt
  20. +0 −148 PHPMailer_5.2.1/docs/extending.html
  21. +0 −67 PHPMailer_5.2.1/docs/faq.html
  22. +0 −39 PHPMailer_5.2.1/docs/pop3_article.txt
  23. +0 −45 PHPMailer_5.2.1/docs/use_gmail.txt
  24. +0 −20 PHPMailer_5.2.1/examples/contents.html
  25. BIN PHPMailer_5.2.1/examples/images/phpmailer.gif
  26. BIN PHPMailer_5.2.1/examples/images/phpmailer_mini.gif
  27. +0 −49 PHPMailer_5.2.1/examples/index.html
  28. +0 −58 PHPMailer_5.2.1/examples/test_db_smtp_basic.php
  29. +0 −31 PHPMailer_5.2.1/examples/test_mail_advanced.php
  30. +0 −43 PHPMailer_5.2.1/examples/test_mail_basic.php
  31. +0 −40 PHPMailer_5.2.1/examples/test_pop_before_smtp_advanced.php
  32. +0 −49 PHPMailer_5.2.1/examples/test_pop_before_smtp_basic.php
  33. +0 −34 PHPMailer_5.2.1/examples/test_sendmail_advanced.php
  34. +0 −45 PHPMailer_5.2.1/examples/test_sendmail_basic.php
  35. +0 −43 PHPMailer_5.2.1/examples/test_smtp_advanced.php
  36. +0 −37 PHPMailer_5.2.1/examples/test_smtp_advanced_no_auth.php
  37. +0 −58 PHPMailer_5.2.1/examples/test_smtp_basic.php
  38. +0 −53 PHPMailer_5.2.1/examples/test_smtp_basic_no_auth.php
  39. +0 −43 PHPMailer_5.2.1/examples/test_smtp_gmail_advanced.php
  40. +0 −59 PHPMailer_5.2.1/examples/test_smtp_gmail_basic.php
  41. +0 −861 PHPMailer_5.2.1/extras/htmlfilter.php
  42. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-ar.php
  43. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-br.php
  44. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-ca.php
  45. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-ch.php
  46. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-cz.php
  47. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-de.php
  48. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-dk.php
  49. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-es.php
  50. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-et.php
  51. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-fi.php
  52. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-fo.php
  53. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-fr.php
  54. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-hu.php
  55. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-it.php
  56. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-ja.php
  57. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-nl.php
  58. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-no.php
  59. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-pl.php
  60. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-ro.php
  61. +0 −25 PHPMailer_5.2.1/language/phpmailer.lang-ru.php
  62. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-se.php
  63. +0 −27 PHPMailer_5.2.1/language/phpmailer.lang-tr.php
  64. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-zh.php
  65. +0 −26 PHPMailer_5.2.1/language/phpmailer.lang-zh_cn.php
  66. +0 −10 PHPMailer_5.2.1/test/contents.html
  67. +0 −670 PHPMailer_5.2.1/test/phpmailerTest.php
  68. BIN PHPMailer_5.2.1/test/test.png
  69. +0 −84 PHPMailer_5.2.1/test/test_callback.php
  70. +0 −48 PHPMailer_5.2.1/test/testemail.php
  71. +0 −165 PHPMailer_5.2.1/test_script/LGPLv3.txt
  72. +0 −14 PHPMailer_5.2.1/test_script/contents.html
  73. BIN PHPMailer_5.2.1/test_script/images/aikido.gif
  74. BIN PHPMailer_5.2.1/test_script/images/bkgrnd.gif
  75. BIN PHPMailer_5.2.1/test_script/images/phpmailer.gif
  76. +0 −427 PHPMailer_5.2.1/test_script/index.php
  77. BIN PHPMailer_5.2.1/test_script/scripts/clipboard.swf
  78. +0 −59 PHPMailer_5.2.1/test_script/scripts/shBrushBash.js
  79. +0 −64 PHPMailer_5.2.1/test_script/scripts/shBrushCSharp.js
  80. +0 −99 PHPMailer_5.2.1/test_script/scripts/shBrushCpp.js
  81. +0 −93 PHPMailer_5.2.1/test_script/scripts/shBrushCss.js
  82. +0 −57 PHPMailer_5.2.1/test_script/scripts/shBrushDelphi.js
  83. +0 −43 PHPMailer_5.2.1/test_script/scripts/shBrushDiff.js
  84. +0 −69 PHPMailer_5.2.1/test_script/scripts/shBrushGroovy.js
  85. +0 −51 PHPMailer_5.2.1/test_script/scripts/shBrushJScript.js
  86. +0 −55 PHPMailer_5.2.1/test_script/scripts/shBrushJava.js
  87. +0 −74 PHPMailer_5.2.1/test_script/scripts/shBrushPerl.js
  88. +0 −91 PHPMailer_5.2.1/test_script/scripts/shBrushPhp.js
  89. +0 −35 PHPMailer_5.2.1/test_script/scripts/shBrushPlain.js
  90. +0 −56 PHPMailer_5.2.1/test_script/scripts/shBrushPython.js
  91. +0 −57 PHPMailer_5.2.1/test_script/scripts/shBrushRuby.js
  92. +0 −53 PHPMailer_5.2.1/test_script/scripts/shBrushScala.js
  93. +0 −68 PHPMailer_5.2.1/test_script/scripts/shBrushSql.js
  94. +0 −58 PHPMailer_5.2.1/test_script/scripts/shBrushVb.js
  95. +0 −71 PHPMailer_5.2.1/test_script/scripts/shBrushXml.js
  96. +0 −30 PHPMailer_5.2.1/test_script/scripts/shCore.js
  97. +0 −30 PHPMailer_5.2.1/test_script/scripts/shLegacy.js
  98. +0 −1,949 PHPMailer_5.2.1/test_script/src/shCore.js
  99. +0 −172 PHPMailer_5.2.1/test_script/src/shLegacy.js
  100. BIN PHPMailer_5.2.1/test_script/styles/help.png
  101. BIN PHPMailer_5.2.1/test_script/styles/magnifier.png
  102. BIN PHPMailer_5.2.1/test_script/styles/page_white_code.png
  103. BIN PHPMailer_5.2.1/test_script/styles/page_white_copy.png
  104. BIN PHPMailer_5.2.1/test_script/styles/printer.png
  105. +0 −321 PHPMailer_5.2.1/test_script/styles/shCore.css
  106. +0 −191 PHPMailer_5.2.1/test_script/styles/shThemeDefault.css
  107. +0 −193 PHPMailer_5.2.1/test_script/styles/shThemeDjango.css
  108. +0 −192 PHPMailer_5.2.1/test_script/styles/shThemeEmacs.css
  109. +0 −193 PHPMailer_5.2.1/test_script/styles/shThemeFadeToGrey.css
  110. +0 −192 PHPMailer_5.2.1/test_script/styles/shThemeMidnight.css
  111. +0 −192 PHPMailer_5.2.1/test_script/styles/shThemeRDark.css
  112. BIN PHPMailer_5.2.1/test_script/styles/wrapping.png
  113. +0 −46 PHPMailer_5.2.1/test_script/test.html
  114. +1 −1 send.php
View
@@ -1,3 +1,6 @@
[submodule "CodeMirror"]
path = CodeMirror
url = https://github.com/marijnh/CodeMirror.git
+[submodule "PHPMailer"]
+ path = PHPMailer
+ url = git://github.com/Synchro/PHPMailer.git
Submodule PHPMailer added at e26b90
Oops, something went wrong.
View
@@ -1,225 +0,0 @@
-/*******************************************************************
-* http://code.google.com/a/apache-extras.org/p/phpmailer/ *
-********************************************************************/
-
-PHPMailer
-Full Featured Email Transfer Class for PHP
-==========================================
-
-Version 5.2.1 (January 16, 2012)
-
-Patch release (see changelog.txt).
-
-Version 5.2.0 (July 19, 2011)
-
-With the release of this version, PHPMailer has moved to Apache
-Extras:
- http://code.google.com/a/apache-extras.org/p/phpmailer/
-
-Version 5.0.0 (April 02, 2009)
-
-With the release of this version, we are initiating a new version numbering
-system to differentiate from the PHP4 version of PHPMailer.
-
-Most notable in this release is fully object oriented code.
-
-We now have available the PHPDocumentor (phpdocs) documentation. This is
-separate from the regular download to keep file sizes down. Please see the
-download area of http://phpmailer.codeworxtech.com.
-
-We also have created a new test script (see /test_script) that you can use
-right out of the box. Copy the /test_script folder directly to your server (in
-the same structure ... with class.phpmailer.php and class.smtp.php in the
-folder above it. Then launch the test script with:
-http://www.yourdomain.com/phpmailer/test_script/index.php
-from this one script, you can test your server settings for mail(), sendmail (or
-qmail), and SMTP. This will email you a sample email (using contents.html for
-the email body) and two attachments. One of the attachments is used as an inline
-image to demonstrate how PHPMailer will automatically detect if attachments are
-the same source as inline graphics and only include one version. Once you click
-the Submit button, the results will be displayed including any SMTP debug
-information and send status. We will also display a version of the script that
-you can cut and paste to include in your projects. Enjoy!
-
-Version 2.3 (November 08, 2008)
-
-We have removed the /phpdoc from the downloads. All documentation is now on
-the http://phpmailer.codeworxtech.com website.
-
-The phpunit.php has been updated to support PHP5.
-
-For all other changes and notes, please see the changelog.
-
-Donations are accepted at PayPal with our id "paypal@worxteam.com".
-
-Version 2.2 (July 15 2008)
-
-- see the changelog.
-
-Version 2.1 (June 04 2008)
-
-With this release, we are announcing that the development of PHPMailer for PHP5
-will be our focus from this date on. We have implemented all the enhancements
-and fixes from the latest release of PHPMailer for PHP4.
-
-Far more important, though, is that this release of PHPMailer (v2.1) is
-fully tested with E_STRICT error checking enabled.
-
-** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS.
- IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE
- APPRECIATED.
-
-We have now added S/MIME functionality (ability to digitally sign emails).
-BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
-The "Signed Emails" functionality adds the Sign method to pass the private key
-filename and the password to read it, and then email will be sent with
-content-type multipart/signed and with the digital signature attached.
-
-A quick note on E_STRICT:
-
-- In about half the test environments the development version was subjected
- to, an error was thrown for the date() functions (used at line 1565 and 1569).
- This is NOT a PHPMailer error, it is the result of an incorrectly configured
- PHP5 installation. The fix is to modify your 'php.ini' file and include the
- date.timezone = America/New York
- directive, (for your own server timezone)
-- If you do get this error, and are unable to access your php.ini file, there is
- a workaround. In your PHP script, add
- date_default_timezone_set('America/Toronto');
-
- * do NOT try to use
- $myVar = date_default_timezone_get();
- as a test, it will throw an error.
-
-We have also included more example files to show the use of "sendmail", "mail()",
-"smtp", and "gmail".
-
-We are also looking for more programmers to join the volunteer development team.
-If you have an interest in this, please let us know.
-
-Enjoy!
-
-
-Version 2.1.0beta1 & beta2
-
-please note, this is BETA software
-** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
-INTENDED STRICTLY FOR TESTING
-
-** NOTE:
-
-As of November 2007, PHPMailer has a new project team headed by industry
-veteran Andy Prevost (codeworxtech). The first release in more than two
-years will focus on fixes, adding ease-of-use enhancements, provide
-basic compatibility with PHP4 and PHP5 using PHP5 backwards compatibility
-features. A new release is planned before year-end 2007 that will provide
-full compatiblity with PHP4 and PHP5, as well as more bug fixes.
-
-We are looking for project developers to assist in restoring PHPMailer to
-its leadership position. Our goals are to simplify use of PHPMailer, provide
-good documentation and examples, and retain backward compatibility to level
-1.7.3 standards.
-
-If you are interested in helping out, visit http://sourceforge.net/projects/phpmailer
-and indicate your interest.
-
-**
-
-http://phpmailer.sourceforge.net/
-
-This software is licenced under the LGPL. Please read LICENSE for information on the
-software availability and distribution.
-
-Class Features:
-- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs
-- Redundant SMTP servers
-- Multipart/alternative emails for mail clients that do not read HTML email
-- Support for 8bit, base64, binary, and quoted-printable encoding
-- Uses the same methods as the very popular AspEmail active server (COM) component
-- SMTP authentication
-- Native language support
-- Word wrap, and more!
-
-Why you might need it:
-
-Many PHP developers utilize email in their code. The only PHP function
-that supports this is the mail() function. However, it does not expose
-any of the popular features that many email clients use nowadays like
-HTML-based emails and attachments. There are two proprietary
-development tools out there that have all the functionality built into
-easy to use classes: AspEmail(tm) and AspMail. Both of these
-programs are COM components only available on Windows. They are also a
-little pricey for smaller projects.
-
-Since I do Linux development I�ve missed these tools for my PHP coding.
-So I built a version myself that implements the same methods (object
-calls) that the Windows-based components do. It is open source and the
-LGPL license allows you to place the class in your proprietary PHP
-projects.
-
-
-Installation:
-
-Copy class.phpmailer.php into your php.ini include_path. If you are
-using the SMTP mailer then place class.smtp.php in your path as well.
-In the language directory you will find several files like
-phpmailer.lang-en.php. If you look right before the .php extension
-that there are two letters. These represent the language type of the
-translation file. For instance "en" is the English file and "br" is
-the Portuguese file. Chose the file that best fits with your language
-and place it in the PHP include path. If your language is English
-then you have nothing more to do. If it is a different language then
-you must point PHPMailer to the correct translation. To do this, call
-the PHPMailer SetLanguage method like so:
-
-// To load the Portuguese version
-$mail->SetLanguage("br", "/optional/path/to/language/directory/");
-
-That's it. You should now be ready to use PHPMailer!
-
-
-A Simple Example:
-
-<?php
-require("class.phpmailer.php");
-
-$mail = new PHPMailer();
-
-$mail->IsSMTP(); // set mailer to use SMTP
-$mail->Host = "smtp1.example.com;smtp2.example.com"; // specify main and backup server
-$mail->SMTPAuth = true; // turn on SMTP authentication
-$mail->Username = "jswan"; // SMTP username
-$mail->Password = "secret"; // SMTP password
-
-$mail->From = "from@example.com";
-$mail->FromName = "Mailer";
-$mail->AddAddress("josh@example.net", "Josh Adams");
-$mail->AddAddress("ellen@example.com"); // name is optional
-$mail->AddReplyTo("info@example.com", "Information");
-
-$mail->WordWrap = 50; // set word wrap to 50 characters
-$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments
-$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // optional name
-$mail->IsHTML(true); // set email format to HTML
-
-$mail->Subject = "Here is the subject";
-$mail->Body = "This is the HTML message body <b>in bold!</b>";
-$mail->AltBody = "This is the body in plain text for non-HTML mail clients";
-
-if(!$mail->Send())
-{
- echo "Message could not be sent. <p>";
- echo "Mailer Error: " . $mail->ErrorInfo;
- exit;
-}
-
-echo "Message has been sent";
-?>
-
-CHANGELOG
-
-See ChangeLog.txt
-
-Download: http://sourceforge.net/project/showfiles.php?group_id=26031
-
-Andy Prevost
Oops, something went wrong.

0 comments on commit ef2f4d4

Please sign in to comment.