, postmaster@example.com, root";
5 | echo $address_string . "\n";
6 |
7 | $address_array = Mail_RFC822::parseAddressList($address_string, "example.com");
8 | if (!is_array($address_array) || count($address_array) < 1) {
9 | die("something is wrong\n");
10 | }
11 |
12 | foreach ($address_array as $val) {
13 | echo "mailbox : " . $val->mailbox . "\n";
14 | echo "host : " . $val->host . "\n";
15 | echo "personal: " . $val->personal . "\n";
16 | }
17 | print_r($address_array);
18 |
--------------------------------------------------------------------------------
/includes/subscribers/import-add.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
23 |
--------------------------------------------------------------------------------
/fast-unsubscribe/Mail-1.2.0/tests/13659.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Mail: Test for bug #13659
3 | --FILE--
4 | (test)';
11 | $result = Mail_RFC822::parseAddressList($address, 'anydomain.com', TRUE);
12 |
13 | if (!PEAR::isError($result) && is_array($result) && is_object($result[0]))
14 | if ($result[0]->personal == '"Test Student"' &&
15 | $result[0]->mailbox == "test" &&
16 | $result[0]->host == "mydomain.com" &&
17 | is_array($result[0]->comment) && $result[0]->comment[0] == 'test')
18 | {
19 | print("OK");
20 | }
21 |
22 |
23 | ?>
24 | --EXPECT--
25 | OK
26 |
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | ErrorDocument 404 "[404 error] If you're seeing this error after install, check this thread on our forum for the fix: https://sendy.co/forum/discussion/5/404-error-after-install/p1"
2 |
3 | Options +FollowSymLinks
4 | Options -Multiviews
5 |
6 | RewriteEngine On
7 | RewriteBase /sendy
8 | RewriteCond %{SCRIPT_FILENAME} !-d
9 | RewriteCond %{SCRIPT_FILENAME} !-f
10 | RewriteRule ^([a-zA-Z0-9-]+)$ $1.php [L]
11 |
12 | # Link tracker
13 | RewriteRule ^l/([a-zA-Z0-9/]+)$ l.php?i=$1 [L]
14 |
15 | # Open tracker
16 | RewriteRule ^t/([a-zA-Z0-9/]+)$ t.php?i=$1 [L]
17 |
18 | # Web version
19 | RewriteRule ^w/([a-zA-Z0-9/]+)$ w.php?i=$1 [L]
20 |
21 | # unsubscribe
22 | RewriteRule ^unsubscribe/(.*)$ unsubscribe.php?i=$1 [L]
23 |
24 | # subscribe
25 | RewriteRule ^subscribe/(.*)$ subscribe.php?i=$1 [L]
26 |
--------------------------------------------------------------------------------
/includes/create/upload.php:
--------------------------------------------------------------------------------
1 | APP_PATH.'/uploads/'.$time.'.'.$extension
23 | );
24 | echo stripslashes(json_encode($array));
25 | }
26 | else exit;
27 | ?>
--------------------------------------------------------------------------------
/includes/campaigns/delete.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/includes/app/progress.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | ('.round($percentage).'%)
';
25 | ?>
--------------------------------------------------------------------------------
/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
2 | For licensing, see LICENSE.md or http://ckeditor.com/license
3 |
4 | cs.js Found: 118 Missing: 0
5 | cy.js Found: 118 Missing: 0
6 | de.js Found: 118 Missing: 0
7 | el.js Found: 16 Missing: 102
8 | eo.js Found: 118 Missing: 0
9 | et.js Found: 31 Missing: 87
10 | fa.js Found: 24 Missing: 94
11 | fi.js Found: 23 Missing: 95
12 | fr.js Found: 118 Missing: 0
13 | hr.js Found: 23 Missing: 95
14 | it.js Found: 118 Missing: 0
15 | nb.js Found: 118 Missing: 0
16 | nl.js Found: 118 Missing: 0
17 | no.js Found: 118 Missing: 0
18 | tr.js Found: 118 Missing: 0
19 | ug.js Found: 39 Missing: 79
20 | zh-cn.js Found: 118 Missing: 0
21 |
--------------------------------------------------------------------------------
/search-and-edit-save.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/fast-unsubscribe/Mail-1.2.0/tests/smtp_error.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Mail: SMTP Error Reporting
3 | --SKIPIF--
4 | packageExists('Net_SMTP')) die("skip\n");
10 | --FILE--
11 | 'bogus.host.tld');
16 |
17 | /* Create our SMTP-based mailer object. */
18 | $mailer = &Mail::factory('smtp', $params);
19 |
20 | /* Attempt to send an empty message in order to trigger an error. */
21 | $e = $mailer->send(array(), array(), '');
22 | if (is_a($e, 'PEAR_Error')) {
23 | die($e->getMessage() . "\n");
24 | }
25 |
26 | --EXPECT--
27 | Failed to connect to bogus.host.tld:25 [SMTP: Failed to connect socket: (code: -1, response: )]
28 |
--------------------------------------------------------------------------------
/includes/subscribers/unsubscribe.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ckeditor/samples/sample_posteddata.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | -------------------------------------------------------------------------------------------
4 | CKEditor - Posted Data
5 |
6 | We are sorry, but your Web server does not support the PHP language used in this script.
7 |
8 | Please note that CKEditor can be used with any other server-side language than just PHP.
9 | To save the content created with CKEditor you need to read the POST data on the server
10 | side and write it to a file or the database.
11 |
12 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
13 | For licensing, see LICENSE.md or http://ckeditor.com/license
14 | -------------------------------------------------------------------------------------------
15 |
16 |