10 | * @author Brent R. Matzelle (original founder)
11 | * @copyright 2012 - 2014 Marcus Bointon
12 | * @copyright 2010 - 2012 Jim Jagielski
13 | * @copyright 2004 - 2009 Andy Prevost
14 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
15 | * @note This program is distributed in the hope that it will be useful - WITHOUT
16 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 | * FITNESS FOR A PARTICULAR PURPOSE.
18 | */
19 |
20 | /**
21 | * PHPMailer SPL autoloader.
22 | * @param string $classname The name of the class to load
23 | */
24 | function PHPMailerAutoload($classname)
25 | {
26 | //Can't use __DIR__ as it's only in PHP 5.3+
27 | $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
28 | if (is_readable($filename)) {
29 | require $filename;
30 | }
31 | }
32 |
33 | if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
34 | //SPL autoloading was introduced in PHP 5.1.2
35 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
36 | spl_autoload_register('PHPMailerAutoload', true, true);
37 | } else {
38 | spl_autoload_register('PHPMailerAutoload');
39 | }
40 | } else {
41 | /**
42 | * Fall back to traditional autoload for old PHP versions
43 | * @param string $classname The name of the class to load
44 | */
45 | function __autoload($classname)
46 | {
47 | PHPMailerAutoload($classname);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phpmailer/phpmailer",
3 | "type": "library",
4 | "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
5 | "authors": [
6 | {
7 | "name": "Marcus Bointon",
8 | "email": "phpmailer@synchromedia.co.uk"
9 | },
10 | {
11 | "name": "Jim Jagielski",
12 | "email": "jimjag@gmail.com"
13 | },
14 | {
15 | "name": "Andy Prevost",
16 | "email": "codeworxtech@users.sourceforge.net"
17 | },
18 | {
19 | "name": "Brent R. Matzelle"
20 | }
21 | ],
22 | "require": {
23 | "php": ">=5.0.0"
24 | },
25 | "require-dev": {
26 | "phpdocumentor/phpdocumentor": "*",
27 | "phpunit/phpunit": "4.0.*"
28 | },
29 | "autoload": {
30 | "classmap": ["class.phpmailer.php", "class.pop3.php", "class.smtp.php"]
31 | },
32 | "license": "LGPL-2.1"
33 | }
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/Callback_function_notes.txt:
--------------------------------------------------------------------------------
1 | NEW CALLBACK FUNCTION:
2 | ======================
3 |
4 | We have had requests for a method to process the results of sending emails
5 | through PHPMailer. In this new release, we have implemented a callback
6 | function that passes the results of each email sent (to, cc, and/or bcc).
7 | We have provided an example that echos the results back to the screen. The
8 | callback function can be used for any purpose. With minor modifications, the
9 | callback function can be used to create CSV logs, post results to databases,
10 | etc.
11 |
12 | Please review the test.php script for the example.
13 |
14 | It's pretty straight forward.
15 |
16 | Enjoy!
17 | Andy
18 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/DomainKeys_notes.txt:
--------------------------------------------------------------------------------
1 | CREATE DKIM KEYS and DNS Resource Record:
2 | =========================================
3 |
4 | To create DomainKeys Identified Mail keys, visit:
5 | http://dkim.worxware.com/
6 | ... read the information, fill in the form, and download the ZIP file
7 | containing the public key, private key, DNS Resource Record and instructions
8 | to add to your DNS Zone Record, and the PHPMailer code to enable DKIM
9 | digital signing.
10 |
11 | /*** PROTECT YOUR PRIVATE & PUBLIC KEYS ***/
12 |
13 | You need to protect your DKIM private and public keys from being viewed or
14 | accessed. Add protection to your .htaccess file as in this example:
15 |
16 | # secure htkeyprivate file
17 |
18 | order allow,deny
19 | deny from all
20 |
21 |
22 | # secure htkeypublic file
23 |
24 | order allow,deny
25 | deny from all
26 |
27 |
28 | (the actual .htaccess additions are in the ZIP file sent back to you from
29 | http://dkim.worxware.com/
30 |
31 | A few notes on using DomainKey Identified Mail (DKIM):
32 |
33 | You do not need to use PHPMailer to DKIM sign emails IF:
34 | - you enable DomainKey support and add the DNS resource record
35 | - you use your outbound mail server
36 |
37 | If you are a third-party emailer that works on behalf of domain owners to
38 | send their emails from your own server:
39 | - you absolutely have to DKIM sign outbound emails
40 | - the domain owner has to add the DNS resource record to match the
41 | private key, public key, selector, identity, and domain that you create
42 | - use caution with the "selector" ... at least one "selector" will already
43 | exist in the DNS Zone Record of the domain at the domain owner's server
44 | you need to ensure that the "selector" you use is unique
45 | Note: since the IP address will not match the domain owner's DNS Zone record
46 | you can be certain that email providers that validate based on DomainKey will
47 | check the domain owner's DNS Zone record for your DNS resource record. Before
48 | sending out emails on behalf of domain owners, ensure they have entered the
49 | DNS resource record you provided them.
50 |
51 | Enjoy!
52 | Andy
53 |
54 | PS. if you need additional information about DKIM, please see:
55 | http://www.dkim.org/info/dkim-faq.html
56 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt:
--------------------------------------------------------------------------------
1 | If you are having problems connecting or sending emails through your SMTP server, the SMTP class can provide more information about the processing/errors taking place.
2 | Use the debug functionality of the class to see what's going on in your connections. To do that, set the debug level in your script. For example:
3 |
4 | $mail->SMTPDebug = 1;
5 | $mail->isSMTP(); // telling the class to use SMTP
6 | $mail->SMTPAuth = true; // enable SMTP authentication
7 | $mail->Port = 26; // set the SMTP port
8 | $mail->Host = "mail.yourhost.com"; // SMTP server
9 | $mail->Username = "name@yourhost.com"; // SMTP account username
10 | $mail->Password = "your password"; // SMTP account password
11 |
12 | Notes on this:
13 | $mail->SMTPDebug = 0; ... will disable debugging (you can also leave this out completely, 0 is the default)
14 | $mail->SMTPDebug = 1; ... will echo errors and server responses
15 | $mail->SMTPDebug = 2; ... will echo errors, server responses and client messages
16 |
17 | And finally, don't forget to disable debugging before going into production.
18 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/extending.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Examples using phpmailer
4 |
5 |
6 |
7 |
8 | Examples using PHPMailer
9 |
10 | 1. Advanced Example
11 |
12 |
13 | This demonstrates sending multiple email messages with binary attachments
14 | from a MySQL database using multipart/alternative messages.
15 |
16 |
17 | require 'PHPMailerAutoload.php';
18 |
19 | $mail = new PHPMailer();
20 |
21 | $mail->From = 'list@example.com';
22 | $mail->FromName = 'List manager';
23 | $mail->Host = 'smtp1.example.com;smtp2.example.com';
24 | $mail->Mailer = 'smtp';
25 |
26 | @mysqli_connect('localhost','root','password');
27 | @mysqli_select_db("my_company");
28 | $query = "SELECT full_name, email, photo FROM employee";
29 | $result = @mysqli_query($query);
30 |
31 | while ($row = mysqli_fetch_assoc($result))
32 | {
33 | // HTML body
34 | $body = "Hello <font size=\"4\">" . $row['full_name'] . "</font>, <p>";
35 | $body .= "<i>Your</i> personal photograph to this message.<p>";
36 | $body .= "Sincerely, <br>";
37 | $body .= "phpmailer List manager";
38 |
39 | // Plain text body (for mail clients that cannot read HTML)
40 | $text_body = 'Hello ' . $row['full_name'] . ", \n\n";
41 | $text_body .= "Your personal photograph to this message.\n\n";
42 | $text_body .= "Sincerely, \n";
43 | $text_body .= 'phpmailer List manager';
44 |
45 | $mail->Body = $body;
46 | $mail->AltBody = $text_body;
47 | $mail->addAddress($row['email'], $row['full_name']);
48 | $mail->addStringAttachment($row['photo'], 'YourPhoto.jpg');
49 |
50 | if(!$mail->send())
51 | echo "There has been a mail error sending to " . $row['email'] . "<br>";
52 |
53 | // Clear all addresses and attachments for next loop
54 | $mail->clearAddresses();
55 | $mail->clearAttachments();
56 | }
57 |
58 |
59 |
60 |
2. Extending PHPMailer
61 |
62 |
63 | Extending classes with inheritance is one of the most
64 | powerful features of object-oriented programming. It allows you to make changes to the
65 | original class for your own personal use without hacking the original
66 | classes, and it's very easy to do:
67 |
68 |
69 | Here's a class that extends the phpmailer class and sets the defaults
70 | for the particular site:
71 | PHP include file: my_phpmailer.php
72 |
73 |
74 |
75 | require 'PHPMailerAutoload.php';
76 |
77 | class my_phpmailer extends PHPMailer {
78 | // Set default variables for all new objects
79 | public $From = 'from@example.com';
80 | public $FromName = 'Mailer';
81 | public $Host = 'smtp1.example.com;smtp2.example.com';
82 | public $Mailer = 'smtp'; // Alternative to isSMTP()
83 | public $WordWrap = 75;
84 |
85 | // Replace the default debug output function
86 | protected function edebug($msg) {
87 | print('My Site Error');
88 | print('Description:');
89 | printf('%s', $msg);
90 | exit;
91 | }
92 |
93 | //Extend the send function
94 | public function send() {
95 | $this->Subject = '[Yay for me!] '.$this->Subject;
96 | return parent::send()
97 | }
98 |
99 | // Create an additional function
100 | public function do_something($something) {
101 | // Place your new code here
102 | }
103 | }
104 |
105 |
106 | Now here's a normal PHP page in the site, which will have all the defaults set above:
107 |
108 |
109 | require 'my_phpmailer.php';
110 |
111 | // Instantiate your new class
112 | $mail = new my_phpmailer;
113 |
114 | // Now you only need to add the necessary stuff
115 | $mail->addAddress('josh@example.com', 'Josh Adams');
116 | $mail->Subject = 'Here is the subject';
117 | $mail->Body = 'This is the message body';
118 | $mail->addAttachment('c:/temp/11-10-00.zip', 'new_name.zip'); // optional name
119 |
120 | if(!$mail->send())
121 | {
122 | echo 'There was an error sending the message';
123 | exit;
124 | }
125 |
126 | echo 'Message was sent successfully';
127 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/faq.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | PHPMailer FAQ
4 |
5 |
6 | PHPMailer FAQ
7 |
8 | - Q: I am concerned that using include files will take up too much
9 | processing time on my computer. How can I make it run faster?
10 | A: PHP by itself is fairly fast, but it recompiles scripts every time they are run, which takes up valuable
11 | computer resources. You can bypass this by using an opcode cache which compiles
12 | PHP code and store it in memory to reduce overhead immensely. APC
13 | (Alternative PHP Cache) is a free opcode cache extension in the PECL library.
14 | - Q: Which mailer gives me the best performance?
15 | A: On a single machine the sendmail (or Qmail) is fastest overall.
16 | Next fastest is mail() to give you the best performance. Both do not have the overhead of SMTP.
17 | If you do not have a local mail server (as is typical on Windows), SMTP is your only option.
18 | - Q: When I try to attach a file with on my server I get a
19 | "Could not find {file} on filesystem error". Why is this?
20 | A: If you are using a Unix machine this is probably because the user
21 | running your web server does not have read access to the directory in question. If you are using Windows,
22 | then the problem is probably that you have used single backslashes to denote directories (\).
23 | A single backslash has a special meaning to PHP so these are not
24 | valid. Instead use double backslashes ("\\") or a single forward
25 | slash ("/").
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/generatedocs.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Regenerate PHPMailer documentation
3 | # Run from within the docs folder
4 | rm -rf phpdoc/*
5 | phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/ --sourcecode --force --title PHPMailer --template="clean"
6 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/docs/pop3_article.txt:
--------------------------------------------------------------------------------
1 | This is built for PHP Mailer 1.72 and was not tested with any previous version. It was developed under PHP 4.3.11 (E_ALL). It works under PHP 5 and 5.1 with E_ALL, but not in Strict mode due to var deprecation (but then neither does PHP Mailer either!). It follows the RFC 1939 standard explicitly and is fully commented.
2 |
3 | With that noted, here is how to implement it:
4 |
5 | I didn't want to modify the PHP Mailer classes at all, so you will have to include/require this class along with the base one. It can sit quite happily in the phpmailer directory.
6 |
7 | When you need it, create your POP3 object
8 |
9 | Right before I invoke PHP Mailer I activate the POP3 authorisation. POP3 before SMTP is a process whereby you login to your web hosts POP3 mail server BEFORE sending out any emails via SMTP. The POP3 logon 'verifies' your ability to send email by SMTP, which typically otherwise blocks you. On my web host (Pair Networks) a single POP3 logon is enough to 'verify' you for 90 minutes. Here is some sample PHP code that activates the POP3 logon and then sends an email via PHP Mailer:
10 |
11 | authorise('pop3.example.com', 110, 30, 'mailer', 'password', 1);
13 | $mail = new PHPMailer(); $mail->SMTPDebug = 2; $mail->isSMTP();
14 | $mail->isHTML(false); $mail->Host = 'relay.example.com';
15 | $mail->From = 'mailer@example.com';
16 | $mail->FromName = 'Example Mailer';
17 | $mail->Subject = 'My subject';
18 | $mail->Body = 'Hello world';
19 | $mail->addAddress('rich@corephp.co.uk', 'Richard Davey');
20 | if (!$mail->send()) {
21 | echo $mail->ErrorInfo;
22 | }
23 | ?>
24 |
25 | The PHP Mailer parts of this code should be obvious to anyone who has used PHP Mailer before. One thing to note - you almost certainly will not need to use SMTP Authentication *and* POP3 before SMTP together. The Authorisation method is a proxy method to all of the others within that class. There are connect, Logon and disconnect methods available, but I wrapped them in the single Authorisation one to make things easier.
26 | The Parameters
27 |
28 | The authorise parameters are as follows:
29 |
30 | $pop->authorise('pop3.example.com', 110, 30, 'mailer', 'password', 1);
31 |
32 | 1. pop3.example.com - The POP3 Mail Server Name (hostname or IP address)
33 | 2. 110 - The POP3 Port on which to connect (default is usually 110, but check with your host)
34 | 3. 30 - A connection time-out value (in seconds)
35 | 4. mailer - The POP3 Username required to logon
36 | 5. password - The POP3 Password required to logon
37 | 6. 1 - The class debug level (0 = off, 1+ = debug output is echoed to the browser)
38 |
39 | Final Comments + the Download
40 |
41 | 1) This class does not support APOP connections. This is only because I did not have an APOP server to test with, but if you'd like to see that added just contact me.
42 |
43 | 2) Opening and closing lots of POP3 connections can be quite a resource/network drain. If you need to send a whole batch of emails then just perform the authentication once at the start, and then loop through your mail sending script. Providing this process doesn't take longer than the verification period lasts on your POP3 server, you should be fine. With my host that period is 90 minutes, i.e. plenty of time.
44 |
45 | 3) If you have heavy requirements for this script (i.e. send a LOT of email on a frequent basis) then I would advise seeking out an alternative sending method (direct SMTP ideally). If this isn't possible then you could modify this class so the 'last authorised' date is recorded somewhere (MySQL, Flat file, etc) meaning you only open a new connection if the old one has expired, saving you precious overhead.
46 |
47 | 4) There are lots of other POP3 classes for PHP available. However most of them implement the full POP3 command set, where-as this one is purely for authentication, and much lighter as a result. However using any of the other POP3 classes to just logon to your server would have the same net result. At the end of the day, use whatever method you feel most comfortable with.
48 | Download
49 |
50 | My thanks to Chris Ryan for the inspiration (even if indirectly, via his SMTP class)
51 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/contents.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer Test
6 |
7 |
8 |
9 |
This is a test of PHPMailer.
10 |
11 |

12 |
13 |
This example uses HTML.
14 |
The PHPMailer image at the top has been embedded automatically.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/exceptions.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - Exceptions test
6 |
7 |
8 | setFrom('from@example.com', 'First Last');
17 | //Set an alternative reply-to address
18 | $mail->addReplyTo('replyto@example.com', 'First Last');
19 | //Set who the message is to be sent to
20 | $mail->addAddress('whoto@example.com', 'John Doe');
21 | //Set the subject line
22 | $mail->Subject = 'PHPMailer Exceptions test';
23 | //Read an HTML message body from an external file, convert referenced images to embedded,
24 | //and convert the HTML into a basic plain-text alternative body
25 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
26 | //Replace the plain text body with one created manually
27 | $mail->AltBody = 'This is a plain-text message body';
28 | //Attach an image file
29 | $mail->addAttachment('images/phpmailer_mini.png');
30 | //send the message
31 | //Note that we don't need check the response from this because it will throw an exception if it has trouble
32 | $mail->send();
33 | echo "Message sent!";
34 | } catch (phpmailerException $e) {
35 | echo $e->errorMessage(); //Pretty error messages from PHPMailer
36 | } catch (Exception $e) {
37 | echo $e->getMessage(); //Boring error messages from anything else!
38 | }
39 | ?>
40 |
41 |
42 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/gmail.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - GMail SMTP test
6 |
7 |
8 | isSMTP();
21 |
22 | //Enable SMTP debugging
23 | // 0 = off (for production use)
24 | // 1 = client messages
25 | // 2 = client and server messages
26 | $mail->SMTPDebug = 2;
27 |
28 | //Ask for HTML-friendly debug output
29 | $mail->Debugoutput = 'html';
30 |
31 | //Set the hostname of the mail server
32 | $mail->Host = 'smtp.gmail.com';
33 |
34 | //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
35 | $mail->Port = 587;
36 |
37 | //Set the encryption system to use - ssl (deprecated) or tls
38 | $mail->SMTPSecure = 'tls';
39 |
40 | //Whether to use SMTP authentication
41 | $mail->SMTPAuth = true;
42 |
43 | //Username to use for SMTP authentication - use full email address for gmail
44 | $mail->Username = "username@gmail.com";
45 |
46 | //Password to use for SMTP authentication
47 | $mail->Password = "yourpassword";
48 |
49 | //Set who the message is to be sent from
50 | $mail->setFrom('from@example.com', 'First Last');
51 |
52 | //Set an alternative reply-to address
53 | $mail->addReplyTo('replyto@example.com', 'First Last');
54 |
55 | //Set who the message is to be sent to
56 | $mail->addAddress('whoto@example.com', 'John Doe');
57 |
58 | //Set the subject line
59 | $mail->Subject = 'PHPMailer GMail SMTP test';
60 |
61 | //Read an HTML message body from an external file, convert referenced images to embedded,
62 | //convert HTML into a basic plain-text alternative body
63 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
64 |
65 | //Replace the plain text body with one created manually
66 | $mail->AltBody = 'This is a plain-text message body';
67 |
68 | //Attach an image file
69 | $mail->addAttachment('images/phpmailer_mini.png');
70 |
71 | //send the message, check for errors
72 | if (!$mail->send()) {
73 | echo "Mailer Error: " . $mail->ErrorInfo;
74 | } else {
75 | echo "Message sent!";
76 | }
77 | ?>
78 |
79 |
80 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/images/phpmailer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/composer_libraries/phpmailer/phpmailer/examples/images/phpmailer.png
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/images/phpmailer_mini.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/composer_libraries/phpmailer/phpmailer/examples/images/phpmailer_mini.png
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer Examples
6 |
7 |
8 | PHPMailer code examples
9 | This folder contains a collection of examples of using PHPMailer.
10 | About testing email sending
11 | When working on email sending code you'll find yourself worrying about what might happen if all these test emails got sent to your mailing list. The solution is to use a fake mail server, one that acts just like the real thing, but just doesn't actually send anything out. Some offer web interfaces, feedback, logging, the ability to return specific error codes, all things that are useful for testing error handling, authentication etc. Here's a selection of mail testing tools you might like to try:
12 |
13 | - FakeEmail, a Python-based fake mail server with a web interface.
14 | - smtp-sink, part of the Postfix mail server, so you probably already have this installed. This is used in the Travis-CI configuration to run PHPMailer's unit tests.
15 | - FakeSMTP, a Java desktop app with the ability to show an SMTP log and save messages to a folder.
16 | - smtp4dev, a dummy SMTP server for Windows.
17 | - fakesendmail.sh, part of PHPMailer's test setup, this is a shell script that emulates sendmail for testing 'mail' or 'sendmail' methods in PHPMailer.
18 | - msglint, not a mail server, the IETF's MIME structure analyser checks the formatting of your messages.
19 |
20 |
21 |
Security note
22 |
Before running these examples you'll need to rename them with '.php' extensions. They are supplied as '.phps' files which will usually be displayed with syntax highlighting by PHP instead of running them. This prevents potential security issues with running potential spam-gateway code if you happen to deploy these code examples on a live site - please don't do that! Similarly, don't leave your passwords in these files as they will be visible to the world!
23 |
24 |
25 | This script is a simple code generator - fill in the form and hit submit, and it will use when you entered to email you a message, and will also generate PHP code using your settings that you can copy and paste to use in your own apps. If you need to get going quickly, this is probably the best place to start.
26 |
27 | This script is a basic example which creates an email message from an external HTML file, creates a plain text body, sets various addresses, adds an attachment and sends the message. It uses PHP's built-in mail() function which is the simplest to use, but relies on the presence of a local mail server, something which is not usually available on Windows. If you find yourself in that sitution, either install a local mail server, or use a remote one and send using SMTP instead.
28 |
29 | The same as the mail example, but shows how to use PHPMailer's optional exceptions for error handling.
30 |
31 | A simple example sending using SMTP with authentication.
32 |
33 | A simple example sending using SMTP without authentication.
34 |
35 | A simple example using sendmail. Sendmail is a program (usually found on Linux/BSD, OS X and other UNIX-alikes) that can be used to submit messages to a local mail server without a lengthy SMTP conversation. It's probably the fastest sending mechanism, but lacks some error reporting features. There are sendmail emulators for most popular mail servers including postfix, qmail, exim etc.
36 |
37 | Submitting email via Google's Gmail service is a popular use of PHPMailer. It's much the same as normal SMTP sending, just with some specific settings, namely using TLS encryption, authentication is enabled, and it connects to the SMTP submission port 587 on the smtp.gmail.com host. This example does all that.
38 |
39 | Before effective SMTP authentication mechanisms were available, it was common for ISPs to use POP-before-SMTP authentication. As it implies, you authenticate using the POP3 protocol (an older protocol now mostly replaced by the far superior IMAP), and then the SMTP server will allow send access from your IP address for a short while, usually 5-15 minutes. PHPMailer includes a POP3 protocol client, so it can carry out this sequence - it's just like a normal SMTP conversation (without authentication), but connects via POP first.
40 |
41 | This is a somewhat naïve example of sending similar emails to a list of different addresses. It sets up a PHPMailer instance using SMTP, then connects to a MySQL database to retrieve a list of recipients. The code loops over this list, sending email to each person using their info and marks them as sent in the database. It makes use of SMTP keepalive which saves reconnecting and re-authenticating between each message.
42 |
43 | Most of these examples use the 'example.com' domain. This domain is reserved by IANA for illustrative purposes, as documented in RFC 2606. Don't use made-up domains like 'mydomain.com' or 'somedomain.com' in examples as someone, somewhere, probably owns them!
44 |
45 |
46 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/mail.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - mail() test
6 |
7 |
8 | setFrom('from@example.com', 'First Last');
15 | //Set an alternative reply-to address
16 | $mail->addReplyTo('replyto@example.com', 'First Last');
17 | //Set who the message is to be sent to
18 | $mail->addAddress('whoto@example.com', 'John Doe');
19 | //Set the subject line
20 | $mail->Subject = 'PHPMailer mail() test';
21 | //Read an HTML message body from an external file, convert referenced images to embedded,
22 | //convert HTML into a basic plain-text alternative body
23 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
24 | //Replace the plain text body with one created manually
25 | $mail->AltBody = 'This is a plain-text message body';
26 | //Attach an image file
27 | $mail->addAttachment('images/phpmailer_mini.png');
28 |
29 | //send the message, check for errors
30 | if (!$mail->send()) {
31 | echo "Mailer Error: " . $mail->ErrorInfo;
32 | } else {
33 | echo "Message sent!";
34 | }
35 | ?>
36 |
37 |
38 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/mailing_list.phps:
--------------------------------------------------------------------------------
1 | isSMTP();
14 | $mail->Host = 'smtp.example.com';
15 | $mail->SMTPAuth = true;
16 | $mail->SMTPKeepAlive = true; // SMTP connection will not close after each email sent, reduces SMTP overhead
17 | $mail->Port = 25;
18 | $mail->Username = 'yourname@example.com';
19 | $mail->Password = 'yourpassword';
20 | $mail->setFrom('list@example.com', 'List manager');
21 | $mail->addReplyTo('list@example.com', 'List manager');
22 |
23 | $mail->Subject = "PHPMailer Simple database mailing list test";
24 |
25 | //Same body for all messages, so set this before the sending loop
26 | //If you generate a different body for each recipient (e.g. you're using a templating system),
27 | //set it inside the loop
28 | $mail->msgHTML($body);
29 | //msgHTML also sets AltBody, so if you want a custom one, set it afterwards
30 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!';
31 |
32 | //Connect to the database and select the recipients from your mailing list that have not yet been sent to
33 | //You'll need to alter this to match your database
34 | $mysql = mysql_connect('localhost', 'username', 'password');
35 | mysql_select_db('mydb', $mysql);
36 | $result = mysql_query("SELECT full_name, email, photo FROM mailinglist WHERE sent = false", $mysql);
37 |
38 | while ($row = mysql_fetch_array($result)) {
39 | $mail->addAddress($row['email'], $row['full_name']);
40 | $mail->addStringAttachment($row['photo'], 'YourPhoto.jpg'); //Assumes the image data is stored in the DB
41 |
42 | if (!$mail->send()) {
43 | echo "Mailer Error (" . str_replace("@", "@", $row["email"]) . ') ' . $mail->ErrorInfo . '
';
44 | break; //Abandon sending
45 | } else {
46 | echo "Message sent to :" . $row['full_name'] . ' (' . str_replace("@", "@", $row['email']) . ')
';
47 | //Mark it as sent in the DB
48 | mysql_query(
49 | "UPDATE mailinglist SET sent = true WHERE email = '" . mysql_real_escape_string($row['email'], $mysql) . "'"
50 | );
51 | }
52 | // Clear all addresses and attachments for next loop
53 | $mail->clearAddresses();
54 | $mail->clearAttachments();
55 | }
56 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/pop_before_smtp.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - POP-before-SMTP test
6 |
7 |
8 | isSMTP();
21 | //Enable SMTP debugging
22 | // 0 = off (for production use)
23 | // 1 = client messages
24 | // 2 = client and server messages
25 | $mail->SMTPDebug = 2;
26 | //Ask for HTML-friendly debug output
27 | $mail->Debugoutput = 'html';
28 | //Set the hostname of the mail server
29 | $mail->Host = "mail.example.com";
30 | //Set the SMTP port number - likely to be 25, 465 or 587
31 | $mail->Port = 25;
32 | //Whether to use SMTP authentication
33 | $mail->SMTPAuth = false;
34 | //Set who the message is to be sent from
35 | $mail->setFrom('from@example.com', 'First Last');
36 | //Set an alternative reply-to address
37 | $mail->addReplyTo('replyto@example.com', 'First Last');
38 | //Set who the message is to be sent to
39 | $mail->addAddress('whoto@example.com', 'John Doe');
40 | //Set the subject line
41 | $mail->Subject = 'PHPMailer POP-before-SMTP test';
42 | //Read an HTML message body from an external file, convert referenced images to embedded,
43 | //and convert the HTML into a basic plain-text alternative body
44 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
45 | //Replace the plain text body with one created manually
46 | $mail->AltBody = 'This is a plain-text message body';
47 | //Attach an image file
48 | $mail->addAttachment('images/phpmailer_mini.png');
49 | //send the message
50 | //Note that we don't need check the response from this because it will throw an exception if it has trouble
51 | $mail->send();
52 | echo "Message sent!";
53 | } catch (phpmailerException $e) {
54 | echo $e->errorMessage(); //Pretty error messages from PHPMailer
55 | } catch (Exception $e) {
56 | echo $e->getMessage(); //Boring error messages from anything else!
57 | }
58 | ?>
59 |
60 |
61 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/scripts/shAutoloader.js:
--------------------------------------------------------------------------------
1 | (function() {
2 |
3 | var sh = SyntaxHighlighter;
4 |
5 | /**
6 | * Provides functionality to dynamically load only the brushes that a needed to render the current page.
7 | *
8 | * There are two syntaxes that autoload understands. For example:
9 | *
10 | * SyntaxHighlighter.autoloader(
11 | * [ 'applescript', 'Scripts/shBrushAppleScript.js' ],
12 | * [ 'actionscript3', 'as3', 'Scripts/shBrushAS3.js' ]
13 | * );
14 | *
15 | * or a more easily comprehendable one:
16 | *
17 | * SyntaxHighlighter.autoloader(
18 | * 'applescript Scripts/shBrushAppleScript.js',
19 | * 'actionscript3 as3 Scripts/shBrushAS3.js'
20 | * );
21 | */
22 | sh.autoloader = function()
23 | {
24 | var list = arguments,
25 | elements = sh.findElements(),
26 | brushes = {},
27 | scripts = {},
28 | all = SyntaxHighlighter.all,
29 | allCalled = false,
30 | allParams = null,
31 | i
32 | ;
33 |
34 | SyntaxHighlighter.all = function(params)
35 | {
36 | allParams = params;
37 | allCalled = true;
38 | };
39 |
40 | function addBrush(aliases, url)
41 | {
42 | for (var i = 0; i < aliases.length; i++)
43 | brushes[aliases[i]] = url;
44 | };
45 |
46 | function getAliases(item)
47 | {
48 | return item.pop
49 | ? item
50 | : item.split(/\s+/)
51 | ;
52 | }
53 |
54 | // create table of aliases and script urls
55 | for (i = 0; i < list.length; i++)
56 | {
57 | var aliases = getAliases(list[i]),
58 | url = aliases.pop()
59 | ;
60 |
61 | addBrush(aliases, url);
62 | }
63 |
64 | // dynamically add tags to the document body
65 | for (i = 0; i < elements.length; i++)
66 | {
67 | var url = brushes[elements[i].params.brush];
68 |
69 | if(url && scripts[url] === undefined)
70 | {
71 | if(elements[i].params['html-script'] === 'true')
72 | {
73 | if(scripts[brushes['xml']] === undefined) {
74 | loadScript(brushes['xml']);
75 | scripts[url] = false;
76 | }
77 | }
78 |
79 | scripts[url] = false;
80 | loadScript(url);
81 | }
82 | }
83 |
84 | function loadScript(url)
85 | {
86 | var script = document.createElement('script'),
87 | done = false
88 | ;
89 |
90 | script.src = url;
91 | script.type = 'text/javascript';
92 | script.language = 'javascript';
93 | script.onload = script.onreadystatechange = function()
94 | {
95 | if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'))
96 | {
97 | done = true;
98 | scripts[url] = true;
99 | checkAll();
100 |
101 | // Handle memory leak in IE
102 | script.onload = script.onreadystatechange = null;
103 | script.parentNode.removeChild(script);
104 | }
105 | };
106 |
107 | // sync way of adding script tags to the page
108 | document.body.appendChild(script);
109 | };
110 |
111 | function checkAll()
112 | {
113 | for(var url in scripts)
114 | if (scripts[url] == false)
115 | return;
116 |
117 | if (allCalled)
118 | SyntaxHighlighter.highlight(allParams);
119 | };
120 | };
121 |
122 | })();
123 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/scripts/shBrushPhp.js:
--------------------------------------------------------------------------------
1 | ;(function()
2 | {
3 | // CommonJS
4 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
5 |
6 | function Brush()
7 | {
8 | var funcs = 'abs acos acosh addcslashes addslashes ' +
9 | 'array_change_key_case array_chunk array_combine array_count_values array_diff '+
10 | 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
11 | 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
12 | 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
13 | 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
14 | 'array_push array_rand array_reduce array_reverse array_search array_shift '+
15 | 'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
16 | 'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
17 | 'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
18 | 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
19 | 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
20 | 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
21 | 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
22 | 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
23 | 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
24 | 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
25 | 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
26 | 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
27 | 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
28 | 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
29 | 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
30 | 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
31 | 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
32 | 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
33 | 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
34 | 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
35 | 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
36 | 'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
37 | 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
38 | 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
39 | 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
40 | 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
41 | 'strtoupper strtr strval substr substr_compare';
42 |
43 | var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
44 | 'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' +
45 | 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +
46 | 'old_function or private protected public return require require_once static switch ' +
47 | 'trait throw try use var while xor ';
48 |
49 | var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
50 |
51 | this.regexList = [
52 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
53 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
54 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
55 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
56 | { regex: /\$\w+/g, css: 'variable' }, // variables
57 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
58 | { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
59 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
60 | ];
61 |
62 | this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
63 | };
64 |
65 | Brush.prototype = new SyntaxHighlighter.Highlighter();
66 | Brush.aliases = ['php'];
67 |
68 | SyntaxHighlighter.brushes.Php = Brush;
69 |
70 | // CommonJS
71 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
72 | })();
73 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/scripts/shLegacy.js:
--------------------------------------------------------------------------------
1 | var dp = {
2 | SyntaxHighlighter : {}
3 | };
4 |
5 | dp.SyntaxHighlighter = {
6 | parseParams: function(
7 | input,
8 | showGutter,
9 | showControls,
10 | collapseAll,
11 | firstLine,
12 | showColumns
13 | )
14 | {
15 | function getValue(list, name)
16 | {
17 | var regex = new XRegExp('^' + name + '\\[(?\\w+)\\]$', 'gi'),
18 | match = null
19 | ;
20 |
21 | for (var i = 0; i < list.length; i++)
22 | if ((match = regex.exec(list[i])) != null)
23 | return match.value;
24 |
25 | return null;
26 | };
27 |
28 | function defaultValue(value, def)
29 | {
30 | return value != null ? value : def;
31 | };
32 |
33 | function asString(value)
34 | {
35 | return value != null ? value.toString() : null;
36 | };
37 |
38 | var parts = input.split(':'),
39 | brushName = parts[0],
40 | options = {},
41 | straight = { 'true' : true }
42 | reverse = { 'true' : false },
43 | result = null,
44 | defaults = SyntaxHighlighter.defaults
45 | ;
46 |
47 | for (var i in parts)
48 | options[parts[i]] = 'true';
49 |
50 | showGutter = asString(defaultValue(showGutter, defaults.gutter));
51 | showControls = asString(defaultValue(showControls, defaults.toolbar));
52 | collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
53 | showColumns = asString(defaultValue(showColumns, defaults.ruler));
54 | firstLine = asString(defaultValue(firstLine, defaults['first-line']));
55 |
56 | return {
57 | brush : brushName,
58 | gutter : defaultValue(reverse[options.nogutter], showGutter),
59 | toolbar : defaultValue(reverse[options.nocontrols], showControls),
60 | collapse : defaultValue(straight[options.collapse], collapseAll),
61 | // ruler : defaultValue(straight[options.showcolumns], showColumns),
62 | 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
63 | };
64 | },
65 |
66 | HighlightAll: function(
67 | name,
68 | showGutter /* optional */,
69 | showControls /* optional */,
70 | collapseAll /* optional */,
71 | firstLine /* optional */,
72 | showColumns /* optional */
73 | )
74 | {
75 | function findValue()
76 | {
77 | var a = arguments;
78 |
79 | for (var i = 0; i < a.length; i++)
80 | {
81 | if (a[i] === null)
82 | continue;
83 |
84 | if (typeof(a[i]) == 'string' && a[i] != '')
85 | return a[i] + '';
86 |
87 | if (typeof(a[i]) == 'object' && a[i].value != '')
88 | return a[i].value + '';
89 | }
90 |
91 | return null;
92 | };
93 |
94 | function findTagsByName(list, name, tagName)
95 | {
96 | var tags = document.getElementsByTagName(tagName);
97 |
98 | for (var i = 0; i < tags.length; i++)
99 | if (tags[i].getAttribute('name') == name)
100 | list.push(tags[i]);
101 | }
102 |
103 | var elements = [],
104 | highlighter = null,
105 | registered = {},
106 | propertyName = 'innerHTML'
107 | ;
108 |
109 | // for some reason IE doesn't find by name, however it does see them just fine by tag name...
110 | findTagsByName(elements, name, 'pre');
111 | findTagsByName(elements, name, 'textarea');
112 |
113 | if (elements.length === 0)
114 | return;
115 |
116 | for (var i = 0; i < elements.length; i++)
117 | {
118 | var element = elements[i],
119 | params = findValue(
120 | element.attributes['class'], element.className,
121 | element.attributes['language'], element.language
122 | ),
123 | language = ''
124 | ;
125 |
126 | if (params === null)
127 | continue;
128 |
129 | params = dp.SyntaxHighlighter.parseParams(
130 | params,
131 | showGutter,
132 | showControls,
133 | collapseAll,
134 | firstLine,
135 | showColumns
136 | );
137 |
138 | SyntaxHighlighter.highlight(params, element);
139 | }
140 | }
141 | };
142 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/sendmail.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - sendmail test
6 |
7 |
8 | isSendmail();
15 | //Set who the message is to be sent from
16 | $mail->setFrom('from@example.com', 'First Last');
17 | //Set an alternative reply-to address
18 | $mail->addReplyTo('replyto@example.com', 'First Last');
19 | //Set who the message is to be sent to
20 | $mail->addAddress('whoto@example.com', 'John Doe');
21 | //Set the subject line
22 | $mail->Subject = 'PHPMailer sendmail test';
23 | //Read an HTML message body from an external file, convert referenced images to embedded,
24 | //convert HTML into a basic plain-text alternative body
25 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
26 | //Replace the plain text body with one created manually
27 | $mail->AltBody = 'This is a plain-text message body';
28 | //Attach an image file
29 | $mail->addAttachment('images/phpmailer_mini.png');
30 |
31 | //send the message, check for errors
32 | if (!$mail->send()) {
33 | echo "Mailer Error: " . $mail->ErrorInfo;
34 | } else {
35 | echo "Message sent!";
36 | }
37 | ?>
38 |
39 |
40 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/smtp.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - SMTP test
6 |
7 |
8 | isSMTP();
20 | //Enable SMTP debugging
21 | // 0 = off (for production use)
22 | // 1 = client messages
23 | // 2 = client and server messages
24 | $mail->SMTPDebug = 2;
25 | //Ask for HTML-friendly debug output
26 | $mail->Debugoutput = 'html';
27 | //Set the hostname of the mail server
28 | $mail->Host = "mail.example.com";
29 | //Set the SMTP port number - likely to be 25, 465 or 587
30 | $mail->Port = 25;
31 | //Whether to use SMTP authentication
32 | $mail->SMTPAuth = true;
33 | //Username to use for SMTP authentication
34 | $mail->Username = "yourname@example.com";
35 | //Password to use for SMTP authentication
36 | $mail->Password = "yourpassword";
37 | //Set who the message is to be sent from
38 | $mail->setFrom('from@example.com', 'First Last');
39 | //Set an alternative reply-to address
40 | $mail->addReplyTo('replyto@example.com', 'First Last');
41 | //Set who the message is to be sent to
42 | $mail->addAddress('whoto@example.com', 'John Doe');
43 | //Set the subject line
44 | $mail->Subject = 'PHPMailer SMTP test';
45 | //Read an HTML message body from an external file, convert referenced images to embedded,
46 | //convert HTML into a basic plain-text alternative body
47 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
48 | //Replace the plain text body with one created manually
49 | $mail->AltBody = 'This is a plain-text message body';
50 | //Attach an image file
51 | $mail->addAttachment('images/phpmailer_mini.png');
52 |
53 | //send the message, check for errors
54 | if (!$mail->send()) {
55 | echo "Mailer Error: " . $mail->ErrorInfo;
56 | } else {
57 | echo "Message sent!";
58 | }
59 | ?>
60 |
61 |
62 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/smtp_no_auth.phps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PHPMailer - SMTP without auth test
6 |
7 |
8 | isSMTP();
20 | //Enable SMTP debugging
21 | // 0 = off (for production use)
22 | // 1 = client messages
23 | // 2 = client and server messages
24 | $mail->SMTPDebug = 2;
25 | //Ask for HTML-friendly debug output
26 | $mail->Debugoutput = 'html';
27 | //Set the hostname of the mail server
28 | $mail->Host = "mail.example.com";
29 | //Set the SMTP port number - likely to be 25, 465 or 587
30 | $mail->Port = 25;
31 | //Whether to use SMTP authentication
32 | $mail->SMTPAuth = false;
33 | //Set who the message is to be sent from
34 | $mail->setFrom('from@example.com', 'First Last');
35 | //Set an alternative reply-to address
36 | $mail->addReplyTo('replyto@example.com', 'First Last');
37 | //Set who the message is to be sent to
38 | $mail->addAddress('whoto@example.com', 'John Doe');
39 | //Set the subject line
40 | $mail->Subject = 'PHPMailer SMTP without auth test';
41 | //Read an HTML message body from an external file, convert referenced images to embedded,
42 | //convert HTML into a basic plain-text alternative body
43 | $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
44 | //Replace the plain text body with one created manually
45 | $mail->AltBody = 'This is a plain-text message body';
46 | //Attach an image file
47 | $mail->addAttachment('images/phpmailer_mini.png');
48 |
49 | //send the message, check for errors
50 | if (!$mail->send()) {
51 | echo "Mailer Error: " . $mail->ErrorInfo;
52 | } else {
53 | echo "Message sent!";
54 | }
55 | ?>
56 |
57 |
58 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shCore.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 | .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 | .syntaxhighlighter.source{overflow:hidden !important;}
4 | .syntaxhighlighter .bold{font-weight:bold !important;}
5 | .syntaxhighlighter .italic{font-style:italic !important;}
6 | .syntaxhighlighter .line{white-space:pre !important;}
7 | .syntaxhighlighter table{width:100% !important;}
8 | .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 | .syntaxhighlighter table td.code{width:100% !important;}
10 | .syntaxhighlighter table td.code .container{position:relative !important;}
11 | .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 | .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 | .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 | .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 | .syntaxhighlighter.show{display:block !important;}
16 | .syntaxhighlighter.collapsed table{display:none !important;}
17 | .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 | .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 | .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 | .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 | .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 | .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 | .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 | .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 | .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 | .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 | .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 | .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 | .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 | .syntaxhighlighter.printing .line .content{color:black !important;}
31 | .syntaxhighlighter.printing .toolbar{display:none !important;}
32 | .syntaxhighlighter.printing a{text-decoration:none !important;}
33 | .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 | .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 | .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 | .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 | .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 | .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 | .syntaxhighlighter.printing .value{color:#009900 !important;}
40 | .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 | .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 | .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 | .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 | .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 | .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 | .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeAppleScript.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter.applescript{background:white;font-size:1em;color:black;}
2 | .syntaxhighlighter.applescript div,.syntaxhighlighter.applescript code{font:1em/1.25 Verdana,sans-serif !important;}
3 | .syntaxhighlighter.applescript .code .line{overflow:hidden !important;}
4 | .syntaxhighlighter.applescript .code .line.highlighted{background:#b5d5ff !important;}
5 | .syntaxhighlighter.applescript .color1{color:#000000 !important;}
6 | .syntaxhighlighter.applescript .color2{color:#000000 !important;}
7 | .syntaxhighlighter.applescript .color3{color:#000000 !important;font-weight:bold !important;}
8 | .syntaxhighlighter.applescript .keyword{color:#000000 !important;font-weight:bold !important;}
9 | .syntaxhighlighter.applescript .color4{color:#0000ff !important;font-style:italic !important;}
10 | .syntaxhighlighter.applescript .comments{color:#4c4d4d !important;}
11 | .syntaxhighlighter.applescript .plain{color:#408000 !important;}
12 | .syntaxhighlighter.applescript .string{color:#000000 !important;}
13 | .syntaxhighlighter.applescript .commandNames{color:#0000ff !important;font-weight:bold !important;}
14 | .syntaxhighlighter.applescript .parameterNames{color:#0000ff !important;}
15 | .syntaxhighlighter.applescript .classes{color:#0000ff !important;font-style:italic !important;}
16 | .syntaxhighlighter.applescript .properties{color:#6c04d4 !important;}
17 | .syntaxhighlighter.applescript .enumeratedValues{color:#4a1e7f !important;}
18 | .syntaxhighlighter.applescript .additionCommandNames{color:#0016b0 !important;font-weight:bold !important;}
19 | .syntaxhighlighter.applescript .additionParameterNames{color:#0016b0 !important;}
20 | .syntaxhighlighter.applescript .additionClasses{color:#0016b0 !important;font-style:italic !important;}
21 | .syntaxhighlighter.applescript .spaces{display:inline-block;height:0 !important;font-size:1.75em !important;line-height:0 !important;}
22 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeDefault.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:white !important;}
2 | .syntaxhighlighter .line.alt1{background-color:white !important;}
3 | .syntaxhighlighter .line.alt2{background-color:white !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:black !important;}
6 | .syntaxhighlighter table caption{color:black !important;}
7 | .syntaxhighlighter .gutter{color:#afafaf !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:blue !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:black !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;}
21 | .syntaxhighlighter .keyword{color:#006699 !important;}
22 | .syntaxhighlighter .preprocessor{color:gray !important;}
23 | .syntaxhighlighter .variable{color:#aa7700 !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#ff1493 !important;}
26 | .syntaxhighlighter .constants{color:#0066cc !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 | .syntaxhighlighter .keyword{font-weight:bold !important;}
32 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeDjango.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:#0a2b1d !important;}
2 | .syntaxhighlighter .line.alt1{background-color:#0a2b1d !important;}
3 | .syntaxhighlighter .line.alt2{background-color:#0a2b1d !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#233729 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 | .syntaxhighlighter table caption{color:#f8f8f8 !important;}
7 | .syntaxhighlighter .gutter{color:#497958 !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #41a83e !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#41a83e !important;color:#0a2b1d !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#96dd3b !important;background:black !important;border:1px solid #41a83e !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#96dd3b !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:white !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#41a83e !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#ffe862 !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#f8f8f8 !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#336442 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#9df39f !important;}
21 | .syntaxhighlighter .keyword{color:#96dd3b !important;}
22 | .syntaxhighlighter .preprocessor{color:#91bb9e !important;}
23 | .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 | .syntaxhighlighter .value{color:#f7e741 !important;}
25 | .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 | .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#96dd3b !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#eb939a !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#91bb9e !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#edef7d !important;}
31 | .syntaxhighlighter .comments{font-style:italic !important;}
32 | .syntaxhighlighter .keyword{font-weight:bold !important;}
33 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeEclipse.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:white !important;}
2 | .syntaxhighlighter .line.alt1{background-color:white !important;}
3 | .syntaxhighlighter .line.alt2{background-color:white !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#c3defe !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 | .syntaxhighlighter table caption{color:black !important;}
7 | .syntaxhighlighter .gutter{color:#787878 !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #d4d0c8 !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#d4d0c8 !important;color:white !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#3f5fbf !important;background:white !important;border:1px solid #d4d0c8 !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#3f5fbf !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:#aa7700 !important;}
15 | .syntaxhighlighter .toolbar{color:#a0a0a0 !important;background:#d4d0c8 !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:#a0a0a0 !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:red !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#3f5fbf !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#2a00ff !important;}
21 | .syntaxhighlighter .keyword{color:#7f0055 !important;}
22 | .syntaxhighlighter .preprocessor{color:#646464 !important;}
23 | .syntaxhighlighter .variable{color:#aa7700 !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#ff1493 !important;}
26 | .syntaxhighlighter .constants{color:#0066cc !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#7f0055 !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 | .syntaxhighlighter .keyword{font-weight:bold !important;}
32 | .syntaxhighlighter .xml .keyword{color:#3f7f7f !important;font-weight:normal !important;}
33 | .syntaxhighlighter .xml .color1,.syntaxhighlighter .xml .color1 a{color:#7f007f !important;}
34 | .syntaxhighlighter .xml .string{font-style:italic !important;color:#2a00ff !important;}
35 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeEmacs.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:black !important;}
2 | .syntaxhighlighter .line.alt1{background-color:black !important;}
3 | .syntaxhighlighter .line.alt2{background-color:black !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2a3133 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 | .syntaxhighlighter table caption{color:#d3d3d3 !important;}
7 | .syntaxhighlighter .gutter{color:#d3d3d3 !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #990000 !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#990000 !important;color:black !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#ebdb8d !important;background:black !important;border:1px solid #990000 !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#ebdb8d !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:#ff7d27 !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#990000 !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d3d3d3 !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#ff7d27 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#ff9e7b !important;}
21 | .syntaxhighlighter .keyword{color:aqua !important;}
22 | .syntaxhighlighter .preprocessor{color:#aec4de !important;}
23 | .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#81cef9 !important;}
26 | .syntaxhighlighter .constants{color:#ff9e7b !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:aqua !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ebdb8d !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff7d27 !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#aec4de !important;}
31 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeFadeToGrey.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:#121212 !important;}
2 | .syntaxhighlighter .line.alt1{background-color:#121212 !important;}
3 | .syntaxhighlighter .line.alt2{background-color:#121212 !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2c2c29 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 | .syntaxhighlighter table caption{color:white !important;}
7 | .syntaxhighlighter .gutter{color:#afafaf !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #3185b9 !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#3185b9 !important;color:#121212 !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#3185b9 !important;background:black !important;border:1px solid #3185b9 !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#3185b9 !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:#d01d33 !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#3185b9 !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#96daff !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:white !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#696854 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#e3e658 !important;}
21 | .syntaxhighlighter .keyword{color:#d01d33 !important;}
22 | .syntaxhighlighter .preprocessor{color:#435a5f !important;}
23 | .syntaxhighlighter .variable{color:#898989 !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#aaaaaa !important;}
26 | .syntaxhighlighter .constants{color:#96daff !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#d01d33 !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ffc074 !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#4a8cdb !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#96daff !important;}
31 | .syntaxhighlighter .functions{font-weight:bold !important;}
32 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeMDUltra.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:#222222 !important;}
2 | .syntaxhighlighter .line.alt1{background-color:#222222 !important;}
3 | .syntaxhighlighter .line.alt2{background-color:#222222 !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 | .syntaxhighlighter table caption{color:lime !important;}
7 | .syntaxhighlighter .gutter{color:#38566f !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#222222 !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:lime !important;}
15 | .syntaxhighlighter .toolbar{color:#aaaaff !important;background:#435a5f !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:#aaaaff !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:lime !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:lime !important;}
21 | .syntaxhighlighter .keyword{color:#aaaaff !important;}
22 | .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
23 | .syntaxhighlighter .variable{color:aqua !important;}
24 | .syntaxhighlighter .value{color:#f7e741 !important;}
25 | .syntaxhighlighter .functions{color:#ff8000 !important;}
26 | .syntaxhighlighter .constants{color:yellow !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#aaaaff !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:red !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:yellow !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
31 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeMidnight.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:#0f192a !important;}
2 | .syntaxhighlighter .line.alt1{background-color:#0f192a !important;}
3 | .syntaxhighlighter .line.alt2{background-color:#0f192a !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:#38566f !important;}
6 | .syntaxhighlighter table caption{color:#d1edff !important;}
7 | .syntaxhighlighter .gutter{color:#afafaf !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#0f192a !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:#1dc116 !important;}
15 | .syntaxhighlighter .toolbar{color:#d1edff !important;background:#435a5f !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:#d1edff !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#8aa6c1 !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d1edff !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#1dc116 !important;}
21 | .syntaxhighlighter .keyword{color:#b43d3d !important;}
22 | .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
23 | .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 | .syntaxhighlighter .value{color:#f7e741 !important;}
25 | .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 | .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#b43d3d !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#f8bb00 !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
31 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeRDark.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:#1b2426 !important;}
2 | .syntaxhighlighter .line.alt1{background-color:#1b2426 !important;}
3 | .syntaxhighlighter .line.alt2{background-color:#1b2426 !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#323e41 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:#b9bdb6 !important;}
6 | .syntaxhighlighter table caption{color:#b9bdb6 !important;}
7 | .syntaxhighlighter .gutter{color:#afafaf !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#1b2426 !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:#5ba1cf !important;background:black !important;border:1px solid #435a5f !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:#5ba1cf !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:#5ce638 !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#435a5f !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:#e0e8ff !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#b9bdb6 !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#878a85 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#5ce638 !important;}
21 | .syntaxhighlighter .keyword{color:#5ba1cf !important;}
22 | .syntaxhighlighter .preprocessor{color:#435a5f !important;}
23 | .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 | .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#5ba1cf !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#e0e8ff !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
31 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/shThemeVisualStudio.css:
--------------------------------------------------------------------------------
1 | .syntaxhighlighter{background-color:white !important;}
2 | .syntaxhighlighter .line.alt1{background-color:white !important;}
3 | .syntaxhighlighter .line.alt2{background-color:white !important;}
4 | .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
5 | .syntaxhighlighter .line.highlighted.number{color:black !important;}
6 | .syntaxhighlighter table caption{color:black !important;}
7 | .syntaxhighlighter .gutter{color:#afafaf !important;}
8 | .syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}
9 | .syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}
10 | .syntaxhighlighter.printing .line .content{border:none !important;}
11 | .syntaxhighlighter.collapsed{overflow:visible !important;}
12 | .syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}
13 | .syntaxhighlighter.collapsed .toolbar a{color:blue !important;}
14 | .syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}
15 | .syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}
16 | .syntaxhighlighter .toolbar a{color:white !important;}
17 | .syntaxhighlighter .toolbar a:hover{color:black !important;}
18 | .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 | .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}
20 | .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#d11010 !important;}
21 | .syntaxhighlighter .keyword{color:#006699 !important;}
22 | .syntaxhighlighter .preprocessor{color:gray !important;}
23 | .syntaxhighlighter .variable{color:#aa7700 !important;}
24 | .syntaxhighlighter .value{color:#009900 !important;}
25 | .syntaxhighlighter .functions{color:#ff1493 !important;}
26 | .syntaxhighlighter .constants{color:#0066cc !important;}
27 | .syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}
28 | .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 | .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 | .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 | .syntaxhighlighter .keyword{font-weight:bold !important;}
32 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/examples/styles/wrapping.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/composer_libraries/phpmailer/phpmailer/examples/styles/wrapping.png
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/extras/EasyPeasyICS.php:
--------------------------------------------------------------------------------
1 | calendarName = $calendarName;
29 | }//function
30 |
31 |
32 | /**
33 | * Add event to calendar
34 | * @param string $calendarName
35 | */
36 | public function addEvent($start, $end, $summary="", $description="", $url=""){
37 | $this->events[] = array(
38 | "start" => $start,
39 | "end" => $end,
40 | "summary" => $summary,
41 | "description" => $description,
42 | "url" => $url
43 | );
44 | }//function
45 |
46 |
47 | public function render($output = true){
48 |
49 | //start Variable
50 | $ics = "";
51 |
52 | //Add header
53 | $ics .= "BEGIN:VCALENDAR
54 | METHOD:PUBLISH
55 | VERSION:2.0
56 | X-WR-CALNAME:".$this->calendarName."
57 | PRODID:-//hacksw/handcal//NONSGML v1.0//EN";
58 |
59 | //Add events
60 | foreach($this->events as $event){
61 | $ics .= "
62 | BEGIN:VEVENT
63 | UID:". md5(uniqid(mt_rand(), true)) ."@EasyPeasyICS.php
64 | DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z
65 | DTSTART:".gmdate('Ymd', $event["start"])."T".gmdate('His', $event["start"])."Z
66 | DTEND:".gmdate('Ymd', $event["end"])."T".gmdate('His', $event["end"])."Z
67 | SUMMARY:".str_replace("\n", "\\n", $event['summary'])."
68 | DESCRIPTION:".str_replace("\n", "\\n", $event['description'])."
69 | URL;VALUE=URI:".$event['url']."
70 | END:VEVENT";
71 | }//foreach
72 |
73 |
74 | //Footer
75 | $ics .= "
76 | END:VCALENDAR";
77 |
78 |
79 | if ($output) {
80 | //Output
81 | header('Content-type: text/calendar; charset=utf-8');
82 | header('Content-Disposition: inline; filename='.$this->calendarName.'.ics');
83 | echo $ics;
84 | } else {
85 | return $ics;
86 | }
87 |
88 | }//function
89 |
90 | }//class
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/extras/ntlm_sasl_client.php:
--------------------------------------------------------------------------------
1 | "mcrypt",
31 | "mhash"=>"mhash"
32 | );
33 | $client->error="the extension ".$extensions[$function]." required by the NTLM SASL client class is not available in this PHP configuration";
34 | return(0);
35 | }
36 | return(1);
37 | }
38 |
39 | Function ASCIIToUnicode($ascii)
40 | {
41 | for($unicode="",$a=0;$aASCIIToUnicode($password);
70 | $md4=mhash(MHASH_MD4,$unicode);
71 | $padded=$md4.str_repeat(chr(0),21-strlen($md4));
72 | $iv_size=mcrypt_get_iv_size(MCRYPT_DES,MCRYPT_MODE_ECB);
73 | $iv=mcrypt_create_iv($iv_size,MCRYPT_RAND);
74 | for($response="",$third=0;$third<21;$third+=7)
75 | {
76 | for($packed="",$p=$third;$p<$third+7;$p++)
77 | $packed.=str_pad(decbin(ord(substr($padded,$p,1))),8,"0",STR_PAD_LEFT);
78 | for($key="",$p=0;$pASCIIToUnicode($domain);
93 | $domain_length=strlen($domain_unicode);
94 | $domain_offset=64;
95 | $user_unicode=$this->ASCIIToUnicode($user);
96 | $user_length=strlen($user_unicode);
97 | $user_offset=$domain_offset+$domain_length;
98 | $workstation_unicode=$this->ASCIIToUnicode($workstation);
99 | $workstation_length=strlen($workstation_unicode);
100 | $workstation_offset=$user_offset+$user_length;
101 | $lm="";
102 | $lm_length=strlen($lm);
103 | $lm_offset=$workstation_offset+$workstation_length;
104 | $ntlm=$ntlm_response;
105 | $ntlm_length=strlen($ntlm);
106 | $ntlm_offset=$lm_offset+$lm_length;
107 | $session="";
108 | $session_length=strlen($session);
109 | $session_offset=$ntlm_offset+$ntlm_length;
110 | return(
111 | "NTLMSSP\0".
112 | "\x03\x00\x00\x00".
113 | pack("v",$lm_length).
114 | pack("v",$lm_length).
115 | pack("V",$lm_offset).
116 | pack("v",$ntlm_length).
117 | pack("v",$ntlm_length).
118 | pack("V",$ntlm_offset).
119 | pack("v",$domain_length).
120 | pack("v",$domain_length).
121 | pack("V",$domain_offset).
122 | pack("v",$user_length).
123 | pack("v",$user_length).
124 | pack("V",$user_offset).
125 | pack("v",$workstation_length).
126 | pack("v",$workstation_length).
127 | pack("V",$workstation_offset).
128 | pack("v",$session_length).
129 | pack("v",$session_length).
130 | pack("V",$session_offset).
131 | "\x01\x02\x00\x00".
132 | $domain_unicode.
133 | $user_unicode.
134 | $workstation_unicode.
135 | $lm.
136 | $ntlm
137 | );
138 | }
139 |
140 | Function Start(&$client, &$message, &$interactions)
141 | {
142 | if($this->state!=SASL_NTLM_STATE_START)
143 | {
144 | $client->error="NTLM authentication state is not at the start";
145 | return(SASL_FAIL);
146 | }
147 | $this->credentials=array(
148 | "user"=>"",
149 | "password"=>"",
150 | "realm"=>"",
151 | "workstation"=>""
152 | );
153 | $defaults=array();
154 | $status=$client->GetCredentials($this->credentials,$defaults,$interactions);
155 | if($status==SASL_CONTINUE)
156 | $this->state=SASL_NTLM_STATE_IDENTIFY_DOMAIN;
157 | Unset($message);
158 | return($status);
159 | }
160 |
161 | Function Step(&$client, $response, &$message, &$interactions)
162 | {
163 | switch($this->state)
164 | {
165 | case SASL_NTLM_STATE_IDENTIFY_DOMAIN:
166 | $message=$this->TypeMsg1($this->credentials["realm"],$this->credentials["workstation"]);
167 | $this->state=SASL_NTLM_STATE_RESPOND_CHALLENGE;
168 | break;
169 | case SASL_NTLM_STATE_RESPOND_CHALLENGE:
170 | $ntlm_response=$this->NTLMResponse(substr($response,24,8),$this->credentials["password"]);
171 | $message=$this->TypeMsg3($ntlm_response,$this->credentials["user"],$this->credentials["realm"],$this->credentials["workstation"]);
172 | $this->state=SASL_NTLM_STATE_DONE;
173 | break;
174 | case SASL_NTLM_STATE_DONE:
175 | $client->error="NTLM authentication was finished without success";
176 | return(SASL_FAIL);
177 | default:
178 | $client->error="invalid NTLM authentication step state";
179 | return(SASL_FAIL);
180 | }
181 | return(SASL_CONTINUE);
182 | }
183 | };
184 |
185 | ?>
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-ar.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP Error: لم نستطع تأكيد الهوية.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP Error: لم نستطع الاتصال بمخدم SMTP.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: لم يتم قبول المعلومات .';
11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 | $PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
13 | $PHPMAILER_LANG['execute'] = 'لم أستطع تنفيذ : ';
14 | $PHPMAILER_LANG['file_access'] = 'لم نستطع الوصول للملف: ';
15 | $PHPMAILER_LANG['file_open'] = 'File Error: لم نستطع فتح الملف: ';
16 | $PHPMAILER_LANG['from_failed'] = 'البريد التالي لم نستطع ارسال البريد له : ';
17 | $PHPMAILER_LANG['instantiate'] = 'لم نستطع توفير خدمة البريد.';
18 | //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer غير مدعوم.';
20 | //$PHPMAILER_LANG['provide_address'] = 'You must provide at least one recipient email address.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: الأخطاء التالية ' .
22 | 'فشل في الارسال لكل من : ';
23 | $PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
24 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-be.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.';
8 | $PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.';
10 | $PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.';
11 | $PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: ';
12 | $PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: ';
13 | $PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: ';
14 | $PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: ';
15 | $PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: ';
16 | $PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().';
17 | $PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: ';
18 | $PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.';
20 | $PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: ';
21 | $PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.';
23 | $PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-br.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.';
11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 | $PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
13 | $PHPMAILER_LANG['execute'] = 'Kunne ikke køre: ';
14 | $PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: ';
15 | $PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
16 | $PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
17 | $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.';
18 | //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
20 | $PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: ';
22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-el.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.';
10 | $PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.';
12 | $PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu';
13 | $PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: ';
14 | $PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: ';
15 | $PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: ';
16 | $PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: ';
17 | $PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: ';
18 | $PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.';
19 | $PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: ';
20 | $PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.';
21 | $PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.';
22 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: ';
23 | $PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: ';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.';
25 | $PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: ';
26 | $PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-fa.php:
--------------------------------------------------------------------------------
1 |
6 | * Edit: Mohammad Hossein Mojtahedi
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.';
10 | $PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: دادهها نادرست هستند.';
12 | $PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.';
13 | $PHPMAILER_LANG['encoding'] = 'کدگذاری ناشناخته: ';
14 | $PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: ';
15 | $PHPMAILER_LANG['file_access'] = 'امکان دسترسی به فایل وجود ندارد: ';
16 | $PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن فایل وجود ندارد: ';
17 | $PHPMAILER_LANG['from_failed'] = 'آدرس فرستنده اشتباه است: ';
18 | $PHPMAILER_LANG['instantiate'] = 'امکان معرفی تابع ایمیل وجود ندارد.';
19 | $PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: ';
20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمیشود.';
21 | $PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.';
22 | $PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: ';
23 | $PHPMAILER_LANG['signing'] = 'خطا در امضا: ';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.';
25 | $PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: ';
26 | $PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیرها وجود ندارد: ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-fi.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'שגיאת SMTP: פעולת האימות נכשלה.';
9 | $PHPMAILER_LANG['connect_host'] = 'שגיאת SMTP: לא הצלחתי להתחבר לשרת SMTP.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'שגיאת SMTP: מידע לא התקבל.';
11 | $PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק';
12 | $PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה';
13 | $PHPMAILER_LANG['encoding'] = 'קידוד לא מוכר: ';
14 | $PHPMAILER_LANG['execute'] = 'לא הצלחתי להפעיל את: ';
15 | $PHPMAILER_LANG['file_access'] = 'לא ניתן לגשת לקובץ: ';
16 | $PHPMAILER_LANG['file_open'] = 'שגיאת קובץ: לא ניתן לגשת לקובץ: ';
17 | $PHPMAILER_LANG['from_failed'] = 'כתובות הנמענים הבאות נכשלו: ';
18 | $PHPMAILER_LANG['instantiate'] = 'לא הצלחתי להפעיל את פונקציית המייל.';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' אינה נתמכת.';
20 | $PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת אחת של מקבל המייל.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'שגיאת SMTP: הנמענים הבאים נכשלו: ';
22 | $PHPMAILER_LANG['signing'] = 'שגיאת חתימה: ';
23 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 | $PHPMAILER_LANG['smtp_error'] = 'שגיאת שרת SMTP: ';
25 | $PHPMAILER_LANG['variable_set'] = 'לא ניתן לקבוע או לשנות את המשתנה: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-hr.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela autentikacija.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Ne mogu se spojiti na SMTP poslužitelj.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.';
11 | $PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.';
12 | $PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: ';
13 | $PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: ';
14 | $PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: ';
15 | $PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: ';
16 | $PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje s navedenih e-mail adresa nije uspjelo: ';
17 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedenih e-mail adresa nije uspjelo: ';
18 | $PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.';
19 | $PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa.';
20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.';
21 | $PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.';
22 | $PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: ';
23 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.';
24 | $PHPMAILER_LANG['smtp_error'] = 'Greška SMTP poslužitelja: ';
25 | $PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-hu.php:
--------------------------------------------------------------------------------
1 | , Stefano Sabatini
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.';
10 | $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.';
12 | $PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto';
13 | $PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: ';
14 | $PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: ';
15 | $PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: ';
16 | $PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: ';
17 | $PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: ';
18 | $PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail';
19 | $PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: ';
20 | $PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente';
21 | $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato';
22 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: ';
23 | $PHPMAILER_LANG['signing'] = 'Errore nella firma: ';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.';
25 | $PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: ';
26 | $PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-ja.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'SMTP შეცდომა: ავტორიზაცია შეუძლებელია.';
8 | $PHPMAILER_LANG['connect_host'] = 'SMTP შეცდომა: SMTP სერვერთან დაკავშირება შეუძლებელია.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდომა: მონაცემები არ იქნა მიღებული.';
10 | $PHPMAILER_LANG['encoding'] = 'კოდირების უცნობი ტიპი: ';
11 | $PHPMAILER_LANG['execute'] = 'შეუძლებელია შემდეგი ბრძანების შესრულება: ';
12 | $PHPMAILER_LANG['file_access'] = 'შეუძლებელია წვდომა ფაილთან: ';
13 | $PHPMAILER_LANG['file_open'] = 'ფაილური სისტემის შეცდომა: არ იხსნება ფაილი: ';
14 | $PHPMAILER_LANG['from_failed'] = 'გამგზავნის არასწორი მისამართი: ';
15 | $PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გაშვება ვერ ხერხდება.';
16 | $PHPMAILER_LANG['provide_address'] = 'გთხოვთ მიუთითოთ ერთი ადრესატის e-mail მისამართი მაინც.';
17 | $PHPMAILER_LANG['mailer_not_supported'] = ' - საფოსტო სერვერის მხარდაჭერა არ არის.';
18 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდომა: შემდეგ მისამართებზე გაგზავნა ვერ მოხერხდა: ';
19 | $PHPMAILER_LANG['empty_message'] = 'შეტყობინება ცარიელია';
20 | $PHPMAILER_LANG['invalid_address'] = 'არ გაიგზავნა, e-mail მისამართის არასწორი ფორმატი: ';
21 | $PHPMAILER_LANG['signing'] = 'ხელმოწერის შეცდომა: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდომა SMTP სერვერთან დაკავშირებისას';
23 | $PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდომა: ';
24 | $PHPMAILER_LANG['variable_set'] = 'შეუძლებელია შემდეგი ცვლადის შექმნა ან შეცვლა: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-lt.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.';
8 | $PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.';
10 | $PHPMAILER_LANG['empty_message'] = 'Laiško turinys tuščias';
11 | $PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotė: ';
12 | $PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: ';
13 | $PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: ';
14 | $PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: ';
15 | $PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntėjo adresas: ';
16 | $PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.';
17 | $PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas';
18 | $PHPMAILER_LANG['mailer_not_supported'] = ' pašto stotis nepalaikoma.';
19 | $PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vieną gavėjo adresą.';
20 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko išsiųsti šiems gavėjams: ';
21 | $PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida';
23 | $PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikšmės kintamajam: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-lv.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: Autorizācija neizdevās.';
8 | $PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informāciju.';
10 | $PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukšs';
11 | $PHPMAILER_LANG['encoding'] = 'Neatpazīts kodējums: ';
12 | $PHPMAILER_LANG['execute'] = 'Neizdevās izpildīt komandu: ';
13 | $PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: ';
14 | $PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvērt failu: ';
15 | $PHPMAILER_LANG['from_failed'] = 'Nepareiza sūtītāja adrese: ';
16 | $PHPMAILER_LANG['instantiate'] = 'Nevar palaist sūtīšanas funkciju.';
17 | $PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese';
18 | $PHPMAILER_LANG['mailer_not_supported'] = ' sūtītājs netiek atbalstīts.';
19 | $PHPMAILER_LANG['provide_address'] = 'Lūdzu, norādiet vismaz vienu adresātu.';
20 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevās nosūtīt šādiem saņēmējiem: ';
21 | $PHPMAILER_LANG['signing'] = 'Autorizācijas kļūda: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda';
23 | $PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainīgā vērtību: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-nl.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.';
8 | $PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.';
10 | $PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg';
11 | $PHPMAILER_LANG['encoding'] = 'Onbekende codering: ';
12 | $PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: ';
13 | $PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: ';
14 | $PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: ';
15 | $PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: ';
16 | $PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.';
17 | $PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres';
18 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.';
19 | $PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.';
20 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: ';
21 | $PHPMAILER_LANG['signing'] = 'Signeerfout: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.';
23 | $PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Kan de volgende variablen niet instellen of resetten: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-no.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Nu a functionat autentificarea.';
10 | $PHPMAILER_LANG['connect_host'] = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'Eroare SMTP: Continutul mailului nu a fost acceptat.';
12 | $PHPMAILER_LANG['empty_message'] = 'Mesajul este gol.';
13 | $PHPMAILER_LANG['encoding'] = 'Encodare necunoscuta: ';
14 | $PHPMAILER_LANG['execute'] = 'Nu pot executa: ';
15 | $PHPMAILER_LANG['file_access'] = 'Nu pot accesa fisierul: ';
16 | $PHPMAILER_LANG['file_open'] = 'Eroare de fisier: Nu pot deschide fisierul: ';
17 | $PHPMAILER_LANG['from_failed'] = 'Urmatoarele adrese From au dat eroare: ';
18 | $PHPMAILER_LANG['instantiate'] = 'Nu am putut instantia functia mail.';
19 | $PHPMAILER_LANG['invalid_address'] = 'Adresa de email nu este valida. ';
20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer nu este suportat.';
21 | $PHPMAILER_LANG['provide_address'] = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).';
22 | $PHPMAILER_LANG['recipients_failed'] = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: ';
23 | $PHPMAILER_LANG['signing'] = 'A aparut o problema la semnarea emailului. ';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Conectarea la serverul SMTP a esuat.';
25 | $PHPMAILER_LANG['smtp_error'] = 'A aparut o eroare la serverul SMTP. ';
26 | $PHPMAILER_LANG['variable_set'] = 'Nu se poate seta/reseta variabila. ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-ru.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.';
8 | $PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к серверу SMTP.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.';
10 | $PHPMAILER_LANG['encoding'] = 'Неизвестный вид кодировки: ';
11 | $PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: ';
12 | $PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: ';
13 | $PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удается открыть файл: ';
14 | $PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: ';
15 | $PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail.';
16 | $PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один адрес e-mail получателя.';
17 | $PHPMAILER_LANG['mailer_not_supported'] = ' - почтовый сервер не поддерживается.';
18 | $PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: отправка по следующим адресам получателей не удалась: ';
19 | $PHPMAILER_LANG['empty_message'] = 'Пустое тело сообщения';
20 | $PHPMAILER_LANG['invalid_address'] = 'Не отослано, неправильный формат email адреса: ';
21 | $PHPMAILER_LANG['signing'] = 'Ошибка подписывания: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Ошибка соединения с SMTP-сервером';
23 | $PHPMAILER_LANG['smtp_error'] = 'Ошибка SMTP-сервера: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Невозможно установить или переустановить переменную: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-se.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.';
11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 | $PHPMAILER_LANG['encoding'] = 'Okänt encode-format: ';
13 | $PHPMAILER_LANG['execute'] = 'Kunde inte köra: ';
14 | $PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: ';
15 | $PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: ';
16 | $PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: ';
17 | $PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.';
18 | //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19 | $PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.';
20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: ';
22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-sk.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentifikácie.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nebolo možné nadviazať spojenie so SMTP serverom.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dáta neboli prijaté';
11 | $PHPMAILER_LANG['empty_message'] = 'Prázdne telo správy.';
12 | $PHPMAILER_LANG['encoding'] = 'Neznáme kódovanie: ';
13 | $PHPMAILER_LANG['execute'] = 'Nedá sa vykonať: ';
14 | $PHPMAILER_LANG['file_access'] = 'Súbor nebol nájdený: ';
15 | $PHPMAILER_LANG['file_open'] = 'File Error: Súbor sa otvoriť pre čítanie: ';
16 | $PHPMAILER_LANG['from_failed'] = 'Následujúca adresa From je nesprávna: ';
17 | $PHPMAILER_LANG['instantiate'] = 'Nedá sa vytvoriť inštancia emailovej funkcie.';
18 | $PHPMAILER_LANG['invalid_address'] = 'Neodoslané, emailová adresa je nesprávna: ';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' emailový klient nieje podporovaný.';
20 | $PHPMAILER_LANG['provide_address'] = 'Musíte zadať aspoň jednu emailovú adresu príjemcu.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy príjemcov niesu správne ';
22 | $PHPMAILER_LANG['signing'] = 'Chyba prihlasovania: ';
23 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zlyhalo.';
24 | $PHPMAILER_LANG['smtp_error'] = 'SMTP chyba serveru: ';
25 | $PHPMAILER_LANG['variable_set'] = 'Nemožno nastaviť alebo resetovať premennú: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-sr.php:
--------------------------------------------------------------------------------
1 |
6 | */
7 |
8 | $PHPMAILER_LANG['authenticate'] = 'SMTP грешка: аутентификација није успела.';
9 | $PHPMAILER_LANG['connect_host'] = 'SMTP грешка: није могуће повезивање са SMTP сервером.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: подаци нису прихваћени.';
11 | $PHPMAILER_LANG['empty_message'] = 'Садржај поруке је празан.';
12 | $PHPMAILER_LANG['encoding'] = 'Непознато кодовање: ';
13 | $PHPMAILER_LANG['execute'] = 'Није могуће извршити наредбу: ';
14 | $PHPMAILER_LANG['file_access'] = 'Није могуће приступити датотеци: ';
15 | $PHPMAILER_LANG['file_open'] = 'Није могуће отворити датотеку: ';
16 | $PHPMAILER_LANG['from_failed'] = 'SMTP грешка: слање са следећих адреса није успело: ';
17 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: слање на следеће адресе није успело: ';
18 | $PHPMAILER_LANG['instantiate'] = 'Није могуће покренути mail функцију.';
19 | $PHPMAILER_LANG['invalid_address'] = 'Порука није послата због неисправне адресе.';
20 | $PHPMAILER_LANG['mailer_not_supported'] = ' мејлер није подржан.';
21 | $PHPMAILER_LANG['provide_address'] = 'Потребно је задати најмање једну адресу.';
22 | $PHPMAILER_LANG['signing'] = 'Грешка приликом пријављивања: ';
23 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Повезивање са SMTP сервером није успело.';
24 | $PHPMAILER_LANG['smtp_error'] = 'Грешка SMTP сервера: ';
25 | $PHPMAILER_LANG['variable_set'] = 'Није могуће задати променљиву, нити је вратити уназад: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-tr.php:
--------------------------------------------------------------------------------
1 |
5 | */
6 |
7 | $PHPMAILER_LANG['authenticate'] = 'Помилка SMTP: помилка авторизації.';
8 | $PHPMAILER_LANG['connect_host'] = 'Помилка SMTP: не вдається підєднатися до серверу SMTP.';
9 | $PHPMAILER_LANG['data_not_accepted'] = 'Помилка SMTP: дані не прийняті.';
10 | $PHPMAILER_LANG['encoding'] = 'Невідомий тип кодування: ';
11 | $PHPMAILER_LANG['execute'] = 'Неможливо виконати команду: ';
12 | $PHPMAILER_LANG['file_access'] = 'Немає доступу до файлу: ';
13 | $PHPMAILER_LANG['file_open'] = 'Помилка файлової системи: не вдається відкрити файл: ';
14 | $PHPMAILER_LANG['from_failed'] = 'Невірна адреса відправника: ';
15 | $PHPMAILER_LANG['instantiate'] = 'Неможливо запустити функцію mail.';
16 | $PHPMAILER_LANG['provide_address'] = 'Будь-ласка, введіть хоча б одну адресу e-mail отримувача.';
17 | $PHPMAILER_LANG['mailer_not_supported'] = ' - поштовий сервер не підтримується.';
18 | $PHPMAILER_LANG['recipients_failed'] = 'Помилка SMTP: відправти наступним отрмувачам не вдалася: ';
19 | $PHPMAILER_LANG['empty_message'] = 'Пусте тіло повідомлення';
20 | $PHPMAILER_LANG['invalid_address'] = 'Не відправлено, невірний формат email адреси: ';
21 | $PHPMAILER_LANG['signing'] = 'Помилка підпису: ';
22 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Помилка зєднання із SMTP-сервером';
23 | $PHPMAILER_LANG['smtp_error'] = 'Помилка SMTP-сервера: ';
24 | $PHPMAILER_LANG['variable_set'] = 'Неможливо встановити або перевстановити змінну: ';
25 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-vi.php:
--------------------------------------------------------------------------------
1 |
6 | * @license GNU/GPL version 2 or GNU/LGPL version 2.1 or any later version
7 | */
8 | $PHPMAILER_LANG['authenticate'] = 'Lỗi SMTP: Không thể xác thực.';
9 | $PHPMAILER_LANG['connect_host'] = 'Lỗi SMTP: Không thể kết nối máy chủ SMTP.';
10 | $PHPMAILER_LANG['data_not_accepted'] = 'Lỗi SMTP: Dữ liệu không được chấp nhận.';
11 | $PHPMAILER_LANG['empty_message'] = 'Không có nội dung';
12 | $PHPMAILER_LANG['encoding'] = 'Mã hóa không xác định: ';
13 | $PHPMAILER_LANG['execute'] = 'Không thực hiện được: ';
14 | $PHPMAILER_LANG['file_access'] = 'Không thể truy cập tệp tin ';
15 | $PHPMAILER_LANG['file_open'] = 'Lỗi Tập tin: Không thể mở tệp tin: ';
16 | $PHPMAILER_LANG['from_failed'] = 'Lỗi địa chỉ gửi đi: ';
17 | $PHPMAILER_LANG['instantiate'] = 'Không dùng được các hàm gửi thư.';
18 | $PHPMAILER_LANG['invalid_address'] = 'Đại chỉ emai không đúng';
19 | $PHPMAILER_LANG['mailer_not_supported'] = ' trình gửi thư không được hỗ trợ.';
20 | $PHPMAILER_LANG['provide_address'] = 'Bạn phải cung cấp ít nhất một địa chỉ người nhận.';
21 | $PHPMAILER_LANG['recipients_failed'] = 'Lỗi SMTP: lỗi địa chỉ người nhận: ';
22 | $PHPMAILER_LANG['signing'] = 'Lỗi đăng nhập: ';
23 | $PHPMAILER_LANG['smtp_connect_failed'] = 'Lỗi kết nối với SMTP';
24 | $PHPMAILER_LANG['smtp_error'] = 'Lỗi máy chủ smtp ';
25 | $PHPMAILER_LANG['variable_set'] = 'Không thể thiết lập hoặc thiết lập lại biến: ';
26 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-zh.php:
--------------------------------------------------------------------------------
1 |
6 | * @author Peter Dave Hello
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登入失敗。';
10 | $PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連線到 SMTP 主機。';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:無法接受的資料。';
12 | $PHPMAILER_LANG['empty_message'] = '郵件內容為空';
13 | $PHPMAILER_LANG['encoding'] = '未知編碼: ';
14 | $PHPMAILER_LANG['file_access'] = '無法存取檔案:';
15 | $PHPMAILER_LANG['file_open'] = '檔案錯誤:無法開啟檔案:';
16 | $PHPMAILER_LANG['from_failed'] = '發送地址錯誤:';
17 | $PHPMAILER_LANG['execute'] = '無法執行:';
18 | $PHPMAILER_LANG['instantiate'] = '未知函數呼叫。';
19 | $PHPMAILER_LANG['invalid_address'] = '因為電子郵件地址無效,無法傳送: ';
20 | $PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。';
21 | $PHPMAILER_LANG['mailer_not_supported'] = '不支援的發信客戶端。';
22 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:收件人地址錯誤:';
23 | $PHPMAILER_LANG['signing'] = '登入失敗: ';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP連線失敗';
25 | $PHPMAILER_LANG['smtp_error'] = 'SMTP伺服器錯誤: ';
26 | $PHPMAILER_LANG['variable_set'] = '無法設定或重設變數: ';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php:
--------------------------------------------------------------------------------
1 |
6 | * @author young blog:binaryoung.com
7 | */
8 |
9 | $PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。';
10 | $PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。';
11 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。';
12 | $PHPMAILER_LANG['empty_message'] = '邮件正文为空。';
13 | $PHPMAILER_LANG['encoding'] = '未知编码: ';
14 | $PHPMAILER_LANG['execute'] = '无法执行:';
15 | $PHPMAILER_LANG['file_access'] = '无法访问文件:';
16 | $PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:';
17 | $PHPMAILER_LANG['from_failed'] = '发送地址错误:';
18 | $PHPMAILER_LANG['instantiate'] = '未知函数调用。';
19 | $PHPMAILER_LANG['invalid_address'] = '发送失败,电子邮箱地址是无效的。';
20 | $PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。';
21 | $PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。';
22 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:';
23 | $PHPMAILER_LANG['signing'] = '登录失败:';
24 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP服务器连接失败。';
25 | $PHPMAILER_LANG['smtp_error'] = 'SMTP服务器出错: ';
26 | $PHPMAILER_LANG['variable_set'] = '无法设置或重置变量:';
27 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/bootstrap.php:
--------------------------------------------------------------------------------
1 |
5 | # Based on code by 'Frater' found at http://www.linuxquestions.org/questions/programming-9/fake-pop3-server-to-capture-pop3-passwords-933733
6 | # Does not actually serve any mail, but supports commands sufficient to test POP-before SMTP
7 | # Can be run directly from a shell like this:
8 | # mkfifo fifo; nc -l 1100 fifo; rm fifo
9 | # It will accept any user name and will return a positive response for the password 'test'
10 |
11 | # Licensed under the GNU Lesser General Public License: http://www.gnu.org/copyleft/lesser.html
12 |
13 | # Enable debug output
14 | #set -xv
15 | export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
16 |
17 | LOGFOLDER=/tmp
18 |
19 | LOGFILE=${LOGFOLDER}/fakepop.log
20 |
21 | LOGGING=1
22 | DEBUG=1
23 | TIMEOUT=60
24 |
25 | POP_USER=
26 | POP_PASSWRD=test
27 |
28 | LINES=1
29 | BREAK=0
30 |
31 | write_log () {
32 | if [ ${LINES} -eq 1 ] ; then
33 | echo '---' >>${LOGFILE}
34 | fi
35 | let LINES+=1
36 | [ ${LOGGING} = 0 ] || echo -e "`date '+%b %d %H:%M'` pop3 $*" >>${LOGFILE}
37 | }
38 |
39 | ANSWER="+OK Fake POP3 Service Ready"
40 |
41 | while [ ${BREAK} -eq 0 ] ; do
42 | echo -en "${ANSWER}\r\n"
43 |
44 | REPLY=""
45 |
46 | #Input appears in $REPLY
47 | read -t ${TIMEOUT}
48 |
49 | ANSWER="+OK "
50 | COMMAND=""
51 | ARGS=""
52 | TIMEOUT=30
53 |
54 | if [ "$REPLY" ] ; then
55 | write_log "RAW input: '`echo "${REPLY}" | tr -cd '[ -~]'`'"
56 |
57 | COMMAND="`echo "${REPLY}" | awk '{print $1}' | tr -cd '\40-\176' | tr 'a-z' 'A-Z'`"
58 | ARGS="`echo "${REPLY}" | tr -cd '\40-\176' | awk '{for(i=2;i<=NF;i++){printf "%s ", $i};printf "\n"}' | sed 's/ $//'`"
59 |
60 | write_log "Command: \"${COMMAND}\""
61 | write_log "Arguments: \"${ARGS}\""
62 |
63 | case "$COMMAND" in
64 | QUIT)
65 | break
66 | ;;
67 | USER)
68 | if [ -n "${ARGS}" ] ; then
69 | POP_USER="${ARGS}"
70 | ANSWER="+OK Please send PASS command"
71 | fi
72 | ;;
73 | AUTH)
74 | ANSWER="+OK \r\n."
75 | ;;
76 | CAPA)
77 | ANSWER="+OK Capabilities include\r\nUSER\r\nCAPA\r\n."
78 | ;;
79 | PASS)
80 | if [ "${POP_PASSWRD}" == "${ARGS}" ] ; then
81 | ANSWER="+OK Logged in."
82 | AUTH=1
83 | else
84 | ANSWER="-ERR Login failed."
85 | fi
86 | ;;
87 | LIST)
88 | if [ "${AUTH}" = 0 ] ; then
89 | ANSWER="-ERR Not authenticated"
90 | else
91 | if [ -z "${ARGS}" ] ; then
92 | ANSWER="+OK No messages, really\r\n."
93 | else
94 | ANSWER="-ERR No messages, no list, no status"
95 | fi
96 | fi
97 | ;;
98 | RSET)
99 | ANSWER="+OK Resetting or whatever\r\n."
100 | ;;
101 | LAST)
102 | if [ "${AUTH}" = 0 ] ; then
103 | ANSWER="-ERR Not authenticated"
104 | else
105 | ANSWER="+OK 0"
106 | fi
107 | ;;
108 | STAT)
109 | if [ "${AUTH}" = 0 ] ; then
110 | ANSWER="-ERR Not authenticated"
111 | else
112 | ANSWER="+OK 0 0"
113 | fi
114 | ;;
115 | NOOP)
116 | ANSWER="+OK Hang on, doing nothing"
117 | ;;
118 | esac
119 | else
120 | echo "+OK Connection timed out"
121 | break
122 | fi
123 | done
124 |
125 | echo "+OK Bye!\r\n"
126 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/fakesendmail.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #Fake sendmail script, adapted from:
3 | #https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
4 |
5 | #Create a temp folder to put messages in
6 | numPath="${TMPDIR-/tmp/}fakemail"
7 | umask 037
8 | mkdir -p $numPath
9 |
10 | if [ ! -f $numPath/num ]; then
11 | echo "0" > $numPath/num
12 | fi
13 | num=`cat $numPath/num`
14 | num=$(($num + 1))
15 | echo $num > $numPath/num
16 |
17 | name="$numPath/message_$num.eml"
18 | while read line
19 | do
20 | echo $line >> $name
21 | done
22 | exit 0
23 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/phpmailerLangTest.php:
--------------------------------------------------------------------------------
1 |
11 | * @copyright 2004 - 2009 Andy Prevost
12 | * @copyright 2010 Marcus Bointon
13 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
14 | */
15 |
16 | require_once '../PHPMailerAutoload.php';
17 |
18 | /**
19 | * PHPMailer - PHP email transport unit test class
20 | * Performs authentication tests
21 | */
22 | class PHPMailerLangTest extends PHPUnit_Framework_TestCase
23 | {
24 | /**
25 | * Holds a phpmailer instance.
26 | * @private
27 | * @var PHPMailer
28 | */
29 | public $Mail;
30 |
31 | /**
32 | * @var string Default include path
33 | */
34 | public $INCLUDE_DIR = '../';
35 |
36 | /**
37 | * Run before each test is started.
38 | */
39 | public function setUp()
40 | {
41 | $this->Mail = new PHPMailer;
42 | }
43 |
44 | /**
45 | * Test language files for missing and excess translations
46 | * All languages are compared with English
47 | * @group languages
48 | */
49 | public function testTranslations()
50 | {
51 | $this->Mail->setLanguage('en');
52 | $definedStrings = $this->Mail->getTranslations();
53 | $err = '';
54 | foreach (new DirectoryIterator('../language') as $fileInfo) {
55 | if ($fileInfo->isDot()) {
56 | continue;
57 | }
58 | $matches = array();
59 | //Only look at language files, ignore anything else in there
60 | if (preg_match('/^phpmailer\.lang-([a-z_]{2,})\.php$/', $fileInfo->getFilename(), $matches)) {
61 | $lang = $matches[1]; //Extract language code
62 | $PHPMAILER_LANG = array(); //Language strings get put in here
63 | include $fileInfo->getPathname(); //Get language strings
64 | $missing = array_diff(array_keys($definedStrings), array_keys($PHPMAILER_LANG));
65 | $extra = array_diff(array_keys($PHPMAILER_LANG), array_keys($definedStrings));
66 | if (!empty($missing)) {
67 | $err .= "\nMissing translations in $lang: " . implode(', ', $missing);
68 | }
69 | if (!empty($extra)) {
70 | $err .= "\nExtra translations in $lang: " . implode(', ', $extra);
71 | }
72 | }
73 | }
74 | $this->assertEmpty($err, $err);
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/runfakepopserver.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # Run the fake pop server from bash
4 | # Idea from http://blog.ale-re.net/2007/09/ipersimple-remote-shell-with-netcat.html
5 | # Defaults to port 1100 so it can be run by unpriv users and not clash with a real server
6 | # Optionally, pass in in a port number as the first arg
7 |
8 | mkfifo fifo
9 | nc -l ${1:-1100} fifo
10 | rm fifo
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/test_callback.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | PHPMailer Lite - DKIM and Callback Function test
4 |
5 |
6 |
7 | isMail();
41 | $mail->setFrom('you@example.com', 'Your Name');
42 | $mail->addAddress('another@example.com', 'John Doe');
43 | $mail->Subject = 'PHPMailer Lite Test Subject via mail()';
44 | // optional - msgHTML will create an alternate automatically
45 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!';
46 | $mail->msgHTML(file_get_contents('../examples/contents.html'));
47 | $mail->addAttachment('../examples/images/phpmailer.png'); // attachment
48 | $mail->addAttachment('../examples/images/phpmailer_mini.png'); // attachment
49 | $mail->action_function = 'callbackAction';
50 | $mail->send();
51 | echo "Message Sent OK\n";
52 | } catch (phpmailerException $e) {
53 | echo $e->errorMessage(); //Pretty error messages from PHPMailer
54 | } catch (Exception $e) {
55 | echo $e->getMessage(); //Boring error messages from anything else!
56 | }
57 |
58 | function cleanEmails($str, $type)
59 | {
60 | if ($type == 'cc') {
61 | $addy['Email'] = $str[0];
62 | $addy['Name'] = $str[1];
63 | return $addy;
64 | }
65 | if (!strstr($str, ' <')) {
66 | $addy['Name'] = '';
67 | $addy['Email'] = $addy;
68 | return $addy;
69 | }
70 | $addyArr = explode(' <', $str);
71 | if (substr($addyArr[1], -1) == '>') {
72 | $addyArr[1] = substr($addyArr[1], 0, -1);
73 | }
74 | $addy['Name'] = $addyArr[0];
75 | $addy['Email'] = $addyArr[1];
76 | $addy['Email'] = str_replace('@', '@', $addy['Email']);
77 | return $addy;
78 | }
79 |
80 | ?>
81 |
82 |
83 |
--------------------------------------------------------------------------------
/composer_libraries/phpmailer/phpmailer/test/testbootstrap-dist.php:
--------------------------------------------------------------------------------
1 |
2 |
15 |
16 |
17 | ./test/
18 |
19 |
20 |
21 |
22 | ./extras
23 |
24 |
25 |
26 |
27 | languages
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Amplus",
3 | "version": "0.0.1",
4 | "description": "Amplus Marketing",
5 | "author": "Amplus Marketing Ltd.",
6 | "license": "MIT",
7 | "dependencies": {
8 | "grunt": "^0.4.4",
9 | "grunt-concurrent": "^0.5.0",
10 | "grunt-contrib-requirejs": "^0.4.4",
11 | "grunt-contrib-uglify": "^0.5.1",
12 | "grunt-sails-linker": "^0.9.5",
13 | "load-grunt-tasks": "^0.6.0",
14 | "grunt-contrib-compass": "^0.9.0",
15 | "grunt-contrib-concat": "^0.5.0",
16 | "grunt-contrib-cssmin": "^0.10.0"
17 | },
18 | "devDependencies": {
19 | "grunt-contrib-clean": "^0.5.0",
20 | "grunt-contrib-coffee": "^0.10.0",
21 | "grunt-contrib-imagemin": "^0.8.1",
22 | "grunt-contrib-watch": "^0.6.1",
23 | "grunt-newer": "^0.7.0",
24 | "grunt-coffeelint": "0.0.10"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 | AddDefaultCharset UTF-8
2 |
3 |
4 | RewriteEngine On
5 | RewriteCond %{REQUEST_FILENAME} !-d
6 | RewriteCond %{REQUEST_FILENAME} !-f
7 | RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
8 |
--------------------------------------------------------------------------------
/public/assets/css/app/sass/partials/_global-functions.sass:
--------------------------------------------------------------------------------
1 | @charset "UTF-8"
2 |
3 | // Baseline, measured in pixels
4 | // The value should be the same as the font-size value for the html element
5 | // If the html element's font-size is set to 62.5% (of the browser's default font-size of 16px),
6 | // then the variable below would be 10px.
7 | $baseline-px: 10px
8 |
9 | =rem($property, $px-values)
10 | // Convert the baseline into rems
11 | $baseline-rem: $baseline-px / 1rem
12 |
13 | // Print the first line in pixel values
14 | #{$property}: $px-values
15 |
16 | // If there is only one (numeric) value, return the property/value line for it.
17 | @if type-of($px-values) == "number"
18 | #{$property}: $px-values / $baseline-rem
19 | @else
20 |
21 | // Create an empty list that we can dump values into
22 | $rem-values: ()
23 |
24 | @each $value in $px-values
25 |
26 | // If the value is zero or not a number, return it
27 | @if $value == 0 or type-of( $value ) != "number"
28 | $rem-values: append($rem-values, $value)
29 |
30 | @else
31 | $rem-values: append($rem-values, $value / $baseline-rem)
32 |
33 | // Return the property and its list of converted values
34 | #{$property}: $rem-values
35 |
36 | =media($val, $query)
37 | @media ($val : $query + "px")
38 | @content
--------------------------------------------------------------------------------
/public/assets/css/app/sass/partials/_global-variables.sass:
--------------------------------------------------------------------------------
1 | body
2 | font-family: "Source Sans Pro", sans-serif
--------------------------------------------------------------------------------
/public/assets/css/app/sass/partials/_internal-report.sass:
--------------------------------------------------------------------------------
1 | header
2 | width: 100%
3 | +rem(height, 75px)
4 | background-color: #fff
5 |
6 | .logo
7 | float: left
8 | background: inline-image("logo.png") no-repeat
9 | +rem(margin, 15px 0 15px 68px)
10 | +rem(width, 157px)
11 | +rem(height, 45px)
--------------------------------------------------------------------------------
/public/assets/css/app/sass/style.sass:
--------------------------------------------------------------------------------
1 | @charset "UTF-8"
2 |
3 | @import "compass"
4 |
5 | /* Fonts */
6 | @import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700")
7 | +font-face("FontAwesome", font-files("FontAwesome.otf", "font-awesome-webfont.eot", "font-awesome-webfont.svg", "font-awesome-webfont.ttf", "font-awesome-webfont.woff"))
8 | +font-face("Glyphicons Halflings", font-files("glyphicons-halflings-regular.eot", "glyphicons-halflings-regular.svg", "glyphicons-halflings-regular.ttf", "glyphicons-halflings-regular.woff"))
9 |
10 | @import "partials/global-functions"
11 | @import "partials/global-variables"
12 | @import "partials/internal-report"
--------------------------------------------------------------------------------
/public/assets/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/public/assets/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/assets/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/assets/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/assets/img/dist/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/img/dist/logo.png
--------------------------------------------------------------------------------
/public/assets/img/src/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/assets/img/src/logo.png
--------------------------------------------------------------------------------
/public/assets/js/app/coffeescripts/name-space-example-original.js:
--------------------------------------------------------------------------------
1 | // http://www.coffeelint.org/
2 |
3 | var PRINT = function() {
4 | return {
5 | test: function() {
6 | console.log('hello');
7 | }
8 | }
9 | }();
--------------------------------------------------------------------------------
/public/assets/js/app/coffeescripts/namespace-example.coffee:
--------------------------------------------------------------------------------
1 | Print = (->
2 | test: ->
3 | console.log('hi')
4 | )()
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ewartx/PhalconPHP-Setup-Example/fd04ffbe287eab8cc2a2e697a29f682ae0c29441/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 | handle()->getContent();
32 |
33 | } catch (Exception $e) {
34 | echo $e->getMessage(), '
';
35 | echo nl2br(htmlentities($e->getTraceAsString()));
36 | }
--------------------------------------------------------------------------------