Changeset 2045470
- Timestamp:
- 03/06/2019 07:17:32 PM (7 years ago)
- Location:
- quick-mail/trunk
- Files:
-
- 7 edited
-
changelog.txt (modified) (1 diff)
-
inc/class-quick-mail-command.php (modified) (14 diffs)
-
inc/class-quickmailutil.php (modified) (1 diff)
-
lang/quick-mail.pot (modified) (13 diffs)
-
lib/js/quick-mail.js (modified) (2 diffs)
-
quick-mail.php (modified) (10 diffs)
-
readme.txt (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quick-mail/trunk/changelog.txt
r1876786 r2045470 1 1 == Quick Mail Changelog == 2 3 = 3.4.4 = 4 * Options are saved if plugin is deactivated. 5 * Options are deleted if plugin in uninstalled. 6 7 = 3.4.3 = 8 * Fixed email address validation error. 2 9 3 10 = 3.4.2 = -
quick-mail/trunk/inc/class-quick-mail-command.php
r2004875 r2045470 4 4 * 5 5 * @package QuickMail 6 * @version 3.5.2 6 7 */ 7 8 class Quick_Mail_Command extends WP_CLI_Command { … … 29 30 30 31 /** 32 * Users selected for role emails. 33 * 34 * @var string 35 * @since 3.5.1 36 */ 37 public $roles = ''; 38 39 /** 31 40 * Sender's character set. 32 41 * … … 40 49 * @var string 41 50 * @since 3.4.1 42 * @todo needs translation43 51 */ 44 52 public static $services = array( 'Mailgun', 'SendGrid', 'SparkPost' ); … … 60 68 * 61 69 * <to> 62 * : Mail recipient. Enter WordPress user ID or email address. 70 * : Mail recipient. Enter WordPress user ID, WP role or email address. 71 * "all" sends mail to all users. 63 72 * 64 73 * <url or filename> … … 94 103 * Send resume.doc to mary@example.com with "Application" subject. 95 104 * Message will be the contents of cover.txt. 105 * 106 * * wp quick-mail 5 editor notice.pdf Notice 107 * 108 * Send notice.pdf with Notice subject from user 5 to all users with `editor` role. 109 * Editor addresses are hidden with `Bcc`. 110 * 111 * * wp quick-mail 5 all notice.pdf Notice 112 * 113 * Send notice.pdf with Notice subject from user 5 to all users. 114 * Recipient addresses are hidden with `Bcc`. 96 115 * 97 116 * @synopsis <from> <to> <url|filename> [<subject>] [<message_attachment_file>] … … 129 148 } // end if multisite 130 149 131 $this->from = $this->verify_email_or_id( $args[0], true ); // Admin only. 132 $temp_msg = ''; 150 $data = $this->verify_email_or_id( $args[0], true ); // Admin only. 151 if ( is_array( $data ) && ! empty( $data[0] ) && ! empty( $data[1] ) ) { 152 $this->from = $data[0]; 153 $sender_id = $data[1]; 154 } // end if got results 155 156 $temp_msg = ''; 133 157 if ( empty( $this->from ) ) { 134 158 $temp_msg = __( 'Only administrators can send mail with WP-CLI.', 'quick-mail' ); 135 159 } elseif ( ! QuickMailUtil::qm_valid_email_domain( $this->from, $verify_domain ) ) { 136 $temp_msg = __( 'Invalid Sender Address ', 'quick-mail' );160 $temp_msg = __( 'Invalid Sender Address.', 'quick-mail' ); 137 161 } // end if invalid user or address. 138 162 … … 141 165 } // end if we have an error message. 142 166 143 $to = $this->verify_email_or_id( $args[1], false ); 144 if ( empty( $to ) || ! QuickMailUtil::qm_valid_email_domain( $to, $verify_domain ) ) { 145 $temp_msg = __( 'Invalid Recipient Address', 'quick-mail' ); 146 WP_CLI::error( $temp_msg ); // Exit. 147 } // end if invalid recipient. 167 $to = ''; 168 if ( ! is_numeric( $args[1] ) && ! strstr( $args[1], '@' ) ) { 169 $all_roles = $this->qm_get_roles(); 170 if ( ! in_array( $args[1], $all_roles ) && 'all' != $args[1] ) { 171 $temp_msg = sprintf( 172 '%s: %s', 173 __( 'Invalid Role', 'quick-mail' ), 174 $args[1] 175 ); 176 WP_CLI::error( $temp_msg ); // Exit. 177 } // end if invalid role. 178 179 $this->roles = $this->qm_get_role_email( $args[1], $sender_id ); 180 if ( empty( $this->roles ) ) { 181 if ( 'administrator' === $args[1] ) { 182 $to = $this->from; 183 $temp_msg = __( 'You are the only administrator.', 'quick-mail' ); 184 WP_CLI::warning( $temp_msg ); // Warning. 185 } else { 186 if ( 'all' === $args[1] ) { 187 $temp_msg = __( 'Cannot send to all. You are the only user.', 'quick-mail' ); 188 } else { 189 $temp_msg = sprintf( 190 '%s: %s', 191 __( 'No users for role', 'quick-mail' ), 192 $args[1] 193 ); 194 } // Else not all. 195 WP_CLI::error( $temp_msg ); // Exit. 196 } 197 } 198 } else { 199 $data = $this->verify_email_or_id( $args[1], false ); // Not Admin only. 200 if ( is_array( $data ) && ! empty( $data[0] ) && ! empty( $data[1] ) ) { 201 $to = $data[0]; 202 } // end if got results 203 204 if ( empty( $to ) || ! QuickMailUtil::qm_valid_email_domain( $to, $verify_domain ) ) { 205 $temp_msg = sprintf( '%s : %s', __( 'Invalid Recipient Address', 'quick-mail' ), $args[1] ); 206 WP_CLI::error( $temp_msg ); // Exit. 207 } // end if invalid recipient. 208 } // end if recipient is a role. 148 209 149 210 $url = ''; … … 206 267 $this->name = $user->display_name; 207 268 } else { 208 $this->name = " \"{$user->user_firstname} {$user->user_lastname}\"";269 $this->name = "{$user->user_firstname} {$user->user_lastname}"; 209 270 } // end if missing first or last name 210 271 … … 302 363 } else { 303 364 $headers[] = "Reply-To: {$this->from}\r\n"; 304 } 305 306 if ( ! wp_mail( $to, $subject, $message, $headers, $attachments ) ) { 365 } // end if Sparkpost. 366 367 if ( ! empty( $this->roles ) ) { 368 if ( strstr( $this->roles, ',' ) ) { 369 $to = $this->from; 370 $headers[] = "Bcc: {$this->roles}"; 371 } else { 372 $to = $this->roles; 373 } 374 } // end if sending to roles. 375 376 $recipients = QuickMailUtil::count_recipients( $headers ); 377 if ( 100 < $recipients ) { 378 $temp_msg = __( 'Cannot send mail to over 100 recipients.', 'quick-mail' ); 379 WP_CLI::error( $temp_msg ); 380 } // end if too many recipients. 381 382 if ( defined( 'QUICK_MAIL_TESTING' ) && QUICK_MAIL_TESTING ) { 383 $bottom = ''; 384 foreach ( $headers as $one ) { 385 $bottom .= "{$one}\r\n"; 386 } // end foreach. 387 388 $top = sprintf( "%s\r\n%s : %s", __( 'TEST MODE', 'quick-mail' ), __( 'To', 'quick-mail' ), $to ); 389 $temp_msg = "{$top}\r\n{$bottom}"; 390 WP_CLI::log( $temp_msg ); 391 exit; 392 } elseif ( ! wp_mail( $to, $subject, $message, $headers, $attachments ) ) { 307 393 $this->remove_qm_filters( $file, $active ); 308 394 $temp_msg = __( 'Error sending mail', 'quick-mail' ); … … 311 397 312 398 $this->remove_qm_filters( $file, $active ); 399 if ( ! empty( $this->roles ) ) { 400 if ( strstr( $this->roles, ',' ) ) { 401 $this->roles = str_replace( ',', ', ', $this->roles ); 402 $this->roles = wordwrap( $this->roles, 65 ); 403 } 404 $to = "{$args[1]} : {$this->roles}"; 405 } // end if using roles. 406 313 407 if ( $sending_file ) { 314 408 $temp_msg = sprintf( … … 376 470 if ( ! $ok ) { 377 471 $temp_msg = __( 'Invalid message type', 'quick-mail' ) . ' : ' . $fmime; 378 WP_CLI:: warning( $temp_msg );472 WP_CLI::error( $temp_msg ); 379 473 } 380 474 return $ok; … … 438 532 439 533 /** 534 * Get an array of site's roles, to validate input. 535 * 536 * @return array role keys 537 * @since 3.5.1 538 */ 539 private function qm_get_roles() { 540 global $wp_roles; 541 $data = array(); 542 foreach ( $wp_roles->roles as $key => $value ) { 543 $data[] = $key; 544 } // end foreach 545 sort( $data ); 546 return $data; 547 } // end qm_get_roles 548 549 /** 550 * Get string of role email addresses, separated by commas. 551 * 552 * @param string $input user input. 553 * @param integer $sender_id user ID of sender, for exclude. 554 * @return string role email addresses, separated by commas 555 * @since 3.5.1 556 */ 557 private function qm_get_role_email( $input, $sender_id ) { 558 $args = array(); 559 if ( 'all' == $input ) { 560 $args = array( 561 'exclude' => $sender_id, 562 'fields' => array( 'user_email' ), 563 ); 564 } else { 565 $args = array( 566 'exclude' => $sender_id, 567 'role' => $input, 568 'fields' => array( 'user_email' ), 569 ); 570 } // end if want all users or role. 571 $user_query = new WP_User_Query( $args ); 572 $j = count( $user_query->results ); 573 if ( empty( $j ) ) { 574 return ''; 575 } // end if no match. 576 577 $got = ''; 578 for ( $i = 0; $i < $j; $i++ ) { 579 $got .= $user_query->results[ $i ]->user_email . ','; 580 } // end for 581 return substr( $got, 0, -1 ); 582 } // end qm_get_role_email. 583 584 /** 440 585 * Connect to remote site as Chrome browser. Return error string or array with data. 441 586 * … … 471 616 * @param mixed $from ID number or email address. 472 617 * @param boolean $admin_only limit search to Administrators. 473 * @return string email address618 * @return array email address, user ID 474 619 */ 475 620 private function verify_email_or_id( $from, $admin_only ) { 476 621 if ( ! is_numeric( $from ) && ! $admin_only ) { 477 return sanitize_email( $from);622 return array( $from, 1 ); 478 623 } // end if not numeric or admin only 479 624 … … 535 680 536 681 $user_query = new WP_User_Query( $args ); 537 return empty( $user_query->results ) ? '' : $user_query->results[0]->data->user_email;682 return empty( $user_query->results ) ? '' : array( $user_query->results[0]->data->user_email, $user_query->results[0]->data->ID ); 538 683 } // end verify_email_or_id 539 684 } // end Quick_Mail_Command -
quick-mail/trunk/inc/class-quickmailutil.php
r2004875 r2045470 688 688 } // end user_has_comments 689 689 690 /** 691 * Count recipients in email headers. 692 * 693 * @param array $headers Email headers. 694 * @return integer count of recipients 695 * @since 3.5.2 696 */ 697 public static function count_recipients( $headers ) { 698 $recipients = 2; // To and From. 699 foreach ( $headers as $one ) { 700 $got = count_chars( $one, 1 ); 701 if ( ! empty( $got ) && ! empty( $got[64] ) ) { 702 $recipients += $got[64]; 703 } // Add amphora count. 704 } // end foreach. 705 return $recipients; 706 } // end count_recipients 707 690 708 } // end class -
quick-mail/trunk/lang/quick-mail.pot
r2004875 r2045470 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Quick Mail 3.5. 0\n"5 "Project-Id-Version: Quick Mail 3.5.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/quick-mail\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2019-0 1-01T15:36:36-05:00\n"12 "POT-Creation-Date: 2019-02-25T12:40:12-05:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.1.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: quick-mail.php:191 19 #: quick-mail.php:1529 20 #: quick-mail.php:2447 19 #: quick-mail.php:1555 20 #: quick-mail.php:1557 21 #: quick-mail.php:2476 21 22 msgid "Quick Mail" 22 23 msgstr "" 23 24 24 25 #. Plugin URI of the plugin 25 msgid "https://wheredidmybraingo.com/quick-mail- improves-translations-adds-roles/"26 msgid "https://wheredidmybraingo.com/quick-mail-3-5-2-email-everyone-wordpress-site/" 26 27 msgstr "" 27 28 … … 38 39 msgstr "" 39 40 40 #: inc/class-quick-mail-command.php:1 1241 #: quick-mail.php:20 4442 #: quick-mail.php:20 6043 #: quick-mail.php:25 6141 #: inc/class-quick-mail-command.php:131 42 #: quick-mail.php:2073 43 #: quick-mail.php:2089 44 #: quick-mail.php:2590 44 45 msgid "Using" 45 46 msgstr "" 46 47 47 #: inc/class-quick-mail-command.php:1 1448 #: quick-mail.php:20 3949 #: quick-mail.php:20 4650 #: quick-mail.php:25 6348 #: inc/class-quick-mail-command.php:133 49 #: quick-mail.php:2068 50 #: quick-mail.php:2075 51 #: quick-mail.php:2592 51 52 msgid "credentials" 52 53 msgstr "" 53 54 54 #: inc/class-quick-mail-command.php:1 3455 #: inc/class-quick-mail-command.php:158 55 56 msgid "Only administrators can send mail with WP-CLI." 56 57 msgstr "" 57 58 58 #: inc/class-quick-mail-command.php:136 59 msgid "Invalid Sender Address" 60 msgstr "" 61 62 #: inc/class-quick-mail-command.php:145 59 #: inc/class-quick-mail-command.php:160 60 msgid "Invalid Sender Address." 61 msgstr "" 62 63 #: inc/class-quick-mail-command.php:173 64 msgid "Invalid Role" 65 msgstr "" 66 67 #: inc/class-quick-mail-command.php:183 68 msgid "You are the only administrator." 69 msgstr "" 70 71 #: inc/class-quick-mail-command.php:187 72 msgid "Cannot send to all. You are the only user." 73 msgstr "" 74 75 #: inc/class-quick-mail-command.php:191 76 msgid "No users for role" 77 msgstr "" 78 79 #: inc/class-quick-mail-command.php:205 63 80 msgid "Invalid Recipient Address" 64 81 msgstr "" 65 82 66 #: inc/class-quick-mail-command.php: 15783 #: inc/class-quick-mail-command.php:218 67 84 msgid "Invalid URL" 68 85 msgstr "" 69 86 70 #: inc/class-quick-mail-command.php: 16571 #: inc/class-quick-mail-command.php: 38287 #: inc/class-quick-mail-command.php:226 88 #: inc/class-quick-mail-command.php:476 72 89 msgid "File not found" 73 90 msgstr "" 74 91 75 #: inc/class-quick-mail-command.php: 17092 #: inc/class-quick-mail-command.php:231 76 93 msgid "Empty file" 77 94 msgstr "" 78 95 79 #: inc/class-quick-mail-command.php: 18980 #: inc/class-quick-mail-command.php:2 0196 #: inc/class-quick-mail-command.php:250 97 #: inc/class-quick-mail-command.php:262 81 98 msgid "Invalid user" 82 99 msgstr "" 83 100 84 #: inc/class-quick-mail-command.php:2 24101 #: inc/class-quick-mail-command.php:285 85 102 msgid "No content" 86 103 msgstr "" 87 104 88 #: inc/class-quick-mail-command.php:2 33105 #: inc/class-quick-mail-command.php:294 89 106 msgid "unknown" 90 107 msgstr "" 91 108 92 #: inc/class-quick-mail-command.php:2 37109 #: inc/class-quick-mail-command.php:298 93 110 msgid "Error saving content" 94 111 msgstr "" 95 112 96 #: inc/class-quick-mail-command.php: 268113 #: inc/class-quick-mail-command.php:329 97 114 msgid "Replaced attachment message." 98 115 msgstr "" 99 116 100 #: inc/class-quick-mail-command.php: 271117 #: inc/class-quick-mail-command.php:332 101 118 msgid "Please see attachment" 102 119 msgstr "" 103 120 104 #: inc/class-quick-mail-command.php: 280121 #: inc/class-quick-mail-command.php:341 105 122 msgid "For Your Eyes Only" 106 123 msgstr "" 107 124 108 #: inc/class-quick-mail-command.php: 284125 #: inc/class-quick-mail-command.php:345 109 126 msgid "Not sending file. Attachment message ignored." 110 127 msgstr "" 111 128 112 #: inc/class-quick-mail-command.php:308 113 #: quick-mail.php:1455 114 #: quick-mail.php:1457 129 #: inc/class-quick-mail-command.php:378 130 #: quick-mail.php:1430 131 msgid "Cannot send mail to over 100 recipients." 132 msgstr "" 133 134 #: inc/class-quick-mail-command.php:388 135 #: quick-mail.php:1555 136 msgid "TEST MODE" 137 msgstr "" 138 139 #: inc/class-quick-mail-command.php:388 140 #: quick-mail.php:1463 141 #: quick-mail.php:1468 142 #: quick-mail.php:1470 143 #: quick-mail.php:1602 144 #: quick-mail.php:1629 145 msgid "To" 146 msgstr "" 147 148 #: inc/class-quick-mail-command.php:394 149 #: quick-mail.php:1479 150 #: quick-mail.php:1481 115 151 msgid "Error sending mail" 116 152 msgstr "" 117 153 118 #: inc/class-quick-mail-command.php: 316154 #: inc/class-quick-mail-command.php:410 119 155 msgid "Sent" 120 156 msgstr "" 121 157 122 #: inc/class-quick-mail-command.php: 318158 #: inc/class-quick-mail-command.php:412 123 159 msgid "to" 124 160 msgstr "" 125 161 126 #: inc/class-quick-mail-command.php: 322162 #: inc/class-quick-mail-command.php:416 127 163 msgid "Sent email to" 128 164 msgstr "" 129 165 130 #: inc/class-quick-mail-command.php: 377166 #: inc/class-quick-mail-command.php:471 131 167 msgid "Invalid message type" 132 168 msgstr "" 133 169 134 #: inc/class-quick-mail-command.php: 394170 #: inc/class-quick-mail-command.php:488 135 171 msgid "You have an attachment." 136 172 msgstr "" 137 173 138 #: inc/class-quick-mail-command.php: 456174 #: inc/class-quick-mail-command.php:601 139 175 msgid "Not found" 140 176 msgstr "" 141 177 142 #: inc/class-quick-mail-command.php: 460178 #: inc/class-quick-mail-command.php:605 143 179 msgid "Cannot connect to" 144 180 msgstr "" 145 181 146 #: inc/class-quick-mail-command.php: 461182 #: inc/class-quick-mail-command.php:606 147 183 msgid "Error" 148 184 msgstr "" … … 158 194 #: quick-mail.php:1115 159 195 #: quick-mail.php:1273 196 #: quick-mail.php:1439 160 197 msgid "Mail Error" 161 198 msgstr "" … … 180 217 181 218 #: quick-mail.php:175 182 #: quick-mail.php:19 54219 #: quick-mail.php:1983 183 220 msgid "https://wordpress.org/plugins/quick-mail/faq/" 184 221 msgstr "" … … 186 223 #: quick-mail.php:176 187 224 #: quick-mail.php:177 188 #: quick-mail.php:19 55189 #: quick-mail.php:29 62225 #: quick-mail.php:1984 226 #: quick-mail.php:2991 190 227 msgid "FAQ" 191 228 msgstr "" 192 229 193 230 #: quick-mail.php:178 194 #: quick-mail.php:26 03195 #: quick-mail.php:29 63231 #: quick-mail.php:2632 232 #: quick-mail.php:2992 196 233 msgid "Support" 197 234 msgstr "" … … 214 251 215 252 #: quick-mail.php:183 216 #: quick-mail.php:26 04253 #: quick-mail.php:2633 217 254 msgid "Please use" 218 255 msgstr "" 219 256 220 257 #: quick-mail.php:184 221 #: quick-mail.php:26 05258 #: quick-mail.php:2634 222 259 msgid "to ask questions and report problems" 223 260 msgstr "" … … 228 265 229 266 #: quick-mail.php:206 230 #: quick-mail.php:21 45267 #: quick-mail.php:2174 231 268 msgid "Send private replies to comments." 232 269 msgstr "" … … 300 337 301 338 #: quick-mail.php:1264 302 #: quick-mail.php:17 21339 #: quick-mail.php:1750 303 340 msgid "Login Expired. Refresh Page." 304 341 msgstr "" … … 308 345 #: quick-mail.php:1306 309 346 #: quick-mail.php:1330 310 #: quick-mail.php:15 26347 #: quick-mail.php:1550 311 348 msgid "Invalid mail address" 312 349 msgstr "" … … 314 351 #: quick-mail.php:1282 315 352 #: quick-mail.php:1332 316 #: quick-mail.php:15 51353 #: quick-mail.php:1580 317 354 msgid "Duplicate mail address" 318 355 msgstr "" … … 346 383 msgstr "" 347 384 348 #: quick-mail.php:1441 385 #: quick-mail.php:1432 386 msgid "Edit mail." 387 msgstr "" 388 389 #: quick-mail.php:1465 349 390 msgid "Message Sent" 350 391 msgstr "" 351 392 352 #: quick-mail.php:1442 353 #: quick-mail.php:1559 393 #: quick-mail.php:1466 394 #: quick-mail.php:1588 395 #: quick-mail.php:1635 396 #: quick-mail.php:1645 397 msgid "CC" 398 msgstr "" 399 400 #: quick-mail.php:1466 401 #: quick-mail.php:1589 402 #: quick-mail.php:1636 403 msgid "BCC" 404 msgstr "" 405 406 #: quick-mail.php:1474 407 msgid "Mailgun Error sending mail" 408 msgstr "" 409 410 #: quick-mail.php:1476 411 msgid "SparkPost Error sending mail" 412 msgstr "" 413 414 #: quick-mail.php:1478 415 #: quick-mail.php:2063 416 #: quick-mail.php:2584 417 #: quick-mail.php:2743 418 msgid "SendGrid" 419 msgstr "" 420 421 #: quick-mail.php:1505 422 msgid "Error Deleting Upload" 423 msgstr "" 424 425 #: quick-mail.php:1528 426 #: quick-mail.php:2920 427 msgid "File uploads are not available on your device" 428 msgstr "" 429 430 #: quick-mail.php:1530 431 #: quick-mail.php:2918 432 msgid "File uploads were disabled by system administrator" 433 msgstr "" 434 435 #: quick-mail.php:1550 436 msgid "Cannot verify address" 437 msgstr "" 438 439 #: quick-mail.php:1582 440 msgid "Quick Mail requires Javascript" 441 msgstr "" 442 443 #: quick-mail.php:1602 444 #: quick-mail.php:2637 445 msgid "Commenters" 446 msgstr "" 447 448 #: quick-mail.php:1603 449 msgid "Message" 450 msgstr "" 451 452 #: quick-mail.php:1603 453 msgid "Reply" 454 msgstr "" 455 354 456 #: quick-mail.php:1606 355 #: quick-mail.php:1616 356 msgid "CC" 357 msgstr "" 358 359 #: quick-mail.php:1442 360 #: quick-mail.php:1560 361 #: quick-mail.php:1607 362 msgid "BCC" 363 msgstr "" 364 365 #: quick-mail.php:1444 366 #: quick-mail.php:1446 367 #: quick-mail.php:1573 368 #: quick-mail.php:1600 369 msgid "To" 370 msgstr "" 371 372 #: quick-mail.php:1450 373 msgid "Mailgun Error sending mail" 374 msgstr "" 375 376 #: quick-mail.php:1452 377 msgid "SparkPost Error sending mail" 378 msgstr "" 379 380 #: quick-mail.php:1454 457 msgid "From" 458 msgstr "" 459 460 #: quick-mail.php:1629 461 #: quick-mail.php:1645 462 msgid "Recent" 463 msgstr "" 464 465 #: quick-mail.php:1650 466 #: quick-mail.php:1653 467 msgid "Subject" 468 msgstr "" 469 470 #: quick-mail.php:1657 471 #: quick-mail.php:1661 472 #: quick-mail.php:1665 473 #: quick-mail.php:1669 474 #: quick-mail.php:1673 475 #: quick-mail.php:1677 476 msgid "Attachment" 477 msgstr "" 478 479 #: quick-mail.php:1687 480 msgid "Enter your message" 481 msgstr "" 482 483 #: quick-mail.php:1701 484 #: quick-mail.php:1702 485 msgid "Send Mail" 486 msgstr "" 487 488 #: quick-mail.php:1903 489 msgid "Option Updated" 490 msgstr "" 491 492 #: quick-mail.php:1941 493 #: quick-mail.php:2527 494 msgid "NOTE" 495 msgstr "" 496 497 #: quick-mail.php:1942 498 msgid "Quick Mail needs three non-admin users for sender, recipient, CC to access User List." 499 msgstr "" 500 501 #: quick-mail.php:1976 502 #: quick-mail.php:2614 503 msgid "http://php.net/manual/en/function.checkdnsrr.php" 504 msgstr "" 505 506 #: quick-mail.php:1978 507 msgid "when" 508 msgstr "" 509 510 #: quick-mail.php:1978 511 #: quick-mail.php:2246 512 #: quick-mail.php:2713 513 msgid "Do Not Show Users" 514 msgstr "" 515 516 #: quick-mail.php:1979 517 msgid "is selected" 518 msgstr "" 519 520 #: quick-mail.php:1980 521 msgid "Verifies domain with" 522 msgstr "" 523 524 #: quick-mail.php:1985 525 msgid "http://php.net/manual/en/function.idn-to-ascii.php" 526 msgstr "" 527 528 #: quick-mail.php:1987 529 msgid "function not found" 530 msgstr "" 531 532 #: quick-mail.php:1988 533 msgid "Cannot verify international domains" 534 msgstr "" 535 536 #: quick-mail.php:1988 537 msgid "because" 538 msgstr "" 539 540 #: quick-mail.php:1989 541 msgid "Please read" 542 msgstr "" 543 544 #: quick-mail.php:1993 545 msgid "This is not guaranteed to be accurate." 546 msgstr "" 547 548 #: quick-mail.php:1993 549 #: quick-mail.php:2618 550 msgid "Turn verification off if Quick Mail rejects a valid address." 551 msgstr "" 552 553 #: quick-mail.php:1997 554 msgid "Apply" 555 msgstr "" 556 557 #: quick-mail.php:1999 558 msgid "to HTML messages" 559 msgstr "" 560 561 #: quick-mail.php:2006 562 msgid "Select recipient from commenters" 563 msgstr "" 564 565 #: quick-mail.php:2008 566 msgid "Display Commenters instead of users" 567 msgstr "" 568 381 569 #: quick-mail.php:2034 382 #: quick-mail.php:2555383 #: quick-mail.php:2714384 msgid "SendGrid"385 msgstr ""386 387 #: quick-mail.php:1481388 msgid "Error Deleting Upload"389 msgstr ""390 391 #: quick-mail.php:1504392 #: quick-mail.php:2891393 msgid "File uploads are not available on your device"394 msgstr ""395 396 #: quick-mail.php:1506397 #: quick-mail.php:2889398 msgid "File uploads were disabled by system administrator"399 msgstr ""400 401 #: quick-mail.php:1526402 msgid "Cannot verify address"403 msgstr ""404 405 #: quick-mail.php:1553406 msgid "Quick Mail requires Javascript"407 msgstr ""408 409 #: quick-mail.php:1573410 #: quick-mail.php:2608411 msgid "Commenters"412 msgstr ""413 414 #: quick-mail.php:1574415 msgid "Message"416 msgstr ""417 418 #: quick-mail.php:1574419 msgid "Reply"420 msgstr ""421 422 #: quick-mail.php:1577423 msgid "From"424 msgstr ""425 426 #: quick-mail.php:1600427 #: quick-mail.php:1616428 msgid "Recent"429 msgstr ""430 431 #: quick-mail.php:1621432 #: quick-mail.php:1624433 msgid "Subject"434 msgstr ""435 436 #: quick-mail.php:1628437 #: quick-mail.php:1632438 #: quick-mail.php:1636439 #: quick-mail.php:1640440 #: quick-mail.php:1644441 #: quick-mail.php:1648442 msgid "Attachment"443 msgstr ""444 445 #: quick-mail.php:1658446 msgid "Enter your message"447 msgstr ""448 449 #: quick-mail.php:1672450 #: quick-mail.php:1673451 msgid "Send Mail"452 msgstr ""453 454 #: quick-mail.php:1874455 msgid "Option Updated"456 msgstr ""457 458 #: quick-mail.php:1912459 #: quick-mail.php:2498460 msgid "NOTE"461 msgstr ""462 463 #: quick-mail.php:1913464 msgid "Quick Mail needs three non-admin users for sender, recipient, CC to access User List."465 msgstr ""466 467 #: quick-mail.php:1947468 #: quick-mail.php:2585469 msgid "http://php.net/manual/en/function.checkdnsrr.php"470 msgstr ""471 472 #: quick-mail.php:1949473 msgid "when"474 msgstr ""475 476 #: quick-mail.php:1949477 #: quick-mail.php:2217478 #: quick-mail.php:2684479 msgid "Do Not Show Users"480 msgstr ""481 482 #: quick-mail.php:1950483 msgid "is selected"484 msgstr ""485 486 #: quick-mail.php:1951487 msgid "Verifies domain with"488 msgstr ""489 490 #: quick-mail.php:1956491 msgid "http://php.net/manual/en/function.idn-to-ascii.php"492 msgstr ""493 494 #: quick-mail.php:1958495 msgid "function not found"496 msgstr ""497 498 #: quick-mail.php:1959499 msgid "Cannot verify international domains"500 msgstr ""501 502 #: quick-mail.php:1959503 msgid "because"504 msgstr ""505 506 #: quick-mail.php:1960507 msgid "Please read"508 msgstr ""509 510 #: quick-mail.php:1964511 msgid "This is not guaranteed to be accurate."512 msgstr ""513 514 #: quick-mail.php:1964515 #: quick-mail.php:2589516 msgid "Turn verification off if Quick Mail rejects a valid address."517 msgstr ""518 519 #: quick-mail.php:1968520 msgid "Apply"521 msgstr ""522 523 #: quick-mail.php:1970524 msgid "to HTML messages"525 msgstr ""526 527 #: quick-mail.php:1977528 msgid "Select recipient from commenters"529 msgstr ""530 531 #: quick-mail.php:1979532 msgid "Display Commenters instead of users"533 msgstr ""534 535 #: quick-mail.php:2005536 570 msgid "Using Mailgun credentials" 537 571 msgstr "" 538 572 539 #: quick-mail.php:20 06573 #: quick-mail.php:2035 540 574 msgid "Sending mail with your Mailgun name and mail address." 541 575 msgstr "" 542 576 543 #: quick-mail.php:20 08544 #: quick-mail.php:20 22577 #: quick-mail.php:2037 578 #: quick-mail.php:2051 545 579 msgid "Mailgun is active" 546 580 msgstr "" 547 581 548 #: quick-mail.php:20 10549 #: quick-mail.php:20 24582 #: quick-mail.php:2039 583 #: quick-mail.php:2053 550 584 msgid "Administrator is using Mailgun to send mail." 551 585 msgstr "" 552 586 553 #: quick-mail.php:20 12554 #: quick-mail.php:20 26587 #: quick-mail.php:2041 588 #: quick-mail.php:2055 555 589 msgid "Sending mail with Mailgun API." 556 590 msgstr "" 557 591 558 #: quick-mail.php:20 19592 #: quick-mail.php:2048 559 593 msgid "Using SparkPost credentials" 560 594 msgstr "" 561 595 562 #: quick-mail.php:20 20596 #: quick-mail.php:2049 563 597 msgid "Sending mail with your SparkPost name and mail address." 564 598 msgstr "" 565 599 566 #: quick-mail.php:20 37600 #: quick-mail.php:2066 567 601 msgid "Use" 568 602 msgstr "" 569 603 570 #: quick-mail.php:20 47571 #: quick-mail.php:25 64604 #: quick-mail.php:2076 605 #: quick-mail.php:2593 572 606 msgid "to send mail for Administrators" 573 607 msgstr "" 574 608 575 #: quick-mail.php:20 53609 #: quick-mail.php:2082 576 610 msgid "Administrator is using" 577 611 msgstr "" 578 612 579 #: quick-mail.php:20 55580 #: quick-mail.php:20 62613 #: quick-mail.php:2084 614 #: quick-mail.php:2091 581 615 msgid "to send mail" 582 616 msgstr "" 583 617 584 #: quick-mail.php:20 68585 #: quick-mail.php:24 64618 #: quick-mail.php:2097 619 #: quick-mail.php:2493 586 620 msgid "Quick Mail Options" 587 621 msgstr "" 588 622 589 #: quick-mail.php:2 073623 #: quick-mail.php:2102 590 624 msgid "Privacy" 591 625 msgstr "" 592 626 593 #: quick-mail.php:2 075627 #: quick-mail.php:2104 594 628 msgid "Grant Quick Mail permission to use your email address." 595 629 msgstr "" 596 630 597 #: quick-mail.php:2 076631 #: quick-mail.php:2105 598 632 msgid "Permission is required to send mail." 599 633 msgstr "" 600 634 601 #: quick-mail.php:2 078635 #: quick-mail.php:2107 602 636 msgid "Grant Quick Mail permission to save recipient addresses." 603 637 msgstr "" 604 638 605 #: quick-mail.php:2 079639 #: quick-mail.php:2108 606 640 msgid "Permission is required to save addresses. Addresses will not be shared." 607 641 msgstr "" 608 642 609 #: quick-mail.php:2 085610 #: quick-mail.php:2 594611 #: quick-mail.php:26 34643 #: quick-mail.php:2114 644 #: quick-mail.php:2623 645 #: quick-mail.php:2663 612 646 msgid "Administration" 613 647 msgstr "" 614 648 615 #: quick-mail.php:21 01616 #: quick-mail.php:2 577649 #: quick-mail.php:2130 650 #: quick-mail.php:2606 617 651 msgid "Hide Administrator Profiles" 618 652 msgstr "" 619 653 620 654 #. translators: %s: number of administrator profiles 621 #: quick-mail.php:21 05655 #: quick-mail.php:2134 622 656 msgid "%s administrator profile" 623 657 msgid_plural "%s administrator profiles" 624 658 msgstr[0] "" 625 659 626 #: quick-mail.php:21 06660 #: quick-mail.php:2135 627 661 msgid "User list will not include" 628 662 msgstr "" 629 663 630 #: quick-mail.php:21 13664 #: quick-mail.php:2142 631 665 msgid "Disable Replies to Comments" 632 666 msgstr "" 633 667 634 #: quick-mail.php:21 14668 #: quick-mail.php:2143 635 669 msgid "Users will not see commenter list." 636 670 msgstr "" 637 671 638 #: quick-mail.php:21 16639 #: quick-mail.php:26 30672 #: quick-mail.php:2145 673 #: quick-mail.php:2659 640 674 msgid "Grant Authors permission to reply to comments" 641 675 msgstr "" 642 676 643 #: quick-mail.php:21 17677 #: quick-mail.php:2146 644 678 msgid "Authors can see commenter list or user list." 645 679 msgstr "" 646 680 647 #: quick-mail.php:21 19681 #: quick-mail.php:2148 648 682 msgid "Grant Editors access to user list." 649 683 msgstr "" 650 684 651 #: quick-mail.php:21 20685 #: quick-mail.php:2149 652 686 msgid "Let editors see user list." 653 687 msgstr "" 654 688 655 #: quick-mail.php:21 22656 #: quick-mail.php:2 583689 #: quick-mail.php:2151 690 #: quick-mail.php:2612 657 691 msgid "Verify recipient email domains" 658 692 msgstr "" 659 693 660 #: quick-mail.php:2130 694 #: quick-mail.php:2159 695 #: quick-mail.php:2687 696 #: quick-mail.php:2695 697 msgid "Add Paragraphs" 698 msgstr "" 699 700 #: quick-mail.php:2161 701 msgid "Add Paragraphs to sent mail" 702 msgstr "" 703 704 #: quick-mail.php:2166 705 #: quick-mail.php:2719 706 msgid "User Display" 707 msgstr "" 708 709 #: quick-mail.php:2176 710 #: quick-mail.php:2650 711 msgid "Limit comments" 712 msgstr "" 713 714 #: quick-mail.php:2177 715 msgid "days" 716 msgstr "" 717 718 #: quick-mail.php:2178 719 msgid "Limit displayed comments to a number of days." 720 msgstr "" 721 722 #: quick-mail.php:2192 723 #: quick-mail.php:2610 724 msgid "Show user roles" 725 msgstr "" 726 727 #: quick-mail.php:2193 728 #: quick-mail.php:2611 729 msgid "Let administrators see role on user list." 730 msgstr "" 731 732 #: quick-mail.php:2201 733 #: quick-mail.php:2706 734 msgid "Show All Users" 735 msgstr "" 736 737 #: quick-mail.php:2208 738 msgid "Show all users sorted by nickname" 739 msgstr "" 740 741 #: quick-mail.php:2211 742 #: quick-mail.php:2234 743 msgid "matching users" 744 msgstr "" 745 746 #: quick-mail.php:2222 747 #: quick-mail.php:2710 748 msgid "Show Users with Names" 749 msgstr "" 750 751 #: quick-mail.php:2230 752 msgid "Show users with names, sorted by last name" 753 msgstr "" 754 755 #: quick-mail.php:2251 756 msgid "Need three users to display User List for sender, recipient, CC." 757 msgstr "" 758 759 #: quick-mail.php:2253 760 msgid "User List was disabled by system administrator." 761 msgstr "" 762 763 #: quick-mail.php:2258 764 msgid "Enter address to send mail." 765 msgstr "" 766 767 #: quick-mail.php:2258 768 msgid "Saves 12 addresses." 769 msgstr "" 770 771 #: quick-mail.php:2260 772 msgid "Save Options" 773 msgstr "" 774 775 #: quick-mail.php:2399 776 #: quick-mail.php:2427 777 msgid "Private Reply" 778 msgstr "" 779 780 #: quick-mail.php:2510 781 msgid "Send Reliable Email from WordPress with Quick Mail has additional information." 782 msgstr "" 783 784 #: quick-mail.php:2528 785 msgid "Sender, recipient, CC." 786 msgstr "" 787 788 #: quick-mail.php:2549 789 msgid "User totals are adjusted because administrator profiles are hidden" 790 msgstr "" 791 792 #: quick-mail.php:2554 793 msgid "Three non-administrator profiles are required for user lists." 794 msgstr "" 795 796 #: quick-mail.php:2565 797 msgid "SparkPost plugin is active" 798 msgstr "" 799 800 #: quick-mail.php:2567 801 msgid "Administrators send mail with SparkPost credentials" 802 msgstr "" 803 804 #: quick-mail.php:2569 805 msgid "Sending mail with SparkPost" 806 msgstr "" 807 808 #: quick-mail.php:2574 809 msgid "Mailgun plugin is active" 810 msgstr "" 811 812 #: quick-mail.php:2576 813 msgid "Administrators send mail with Mailgun credentials" 814 msgstr "" 815 816 #: quick-mail.php:2578 817 msgid "Sending mail with Mailgun" 818 msgstr "" 819 820 #: quick-mail.php:2585 821 msgid "plugin is active" 822 msgstr "" 823 824 #: quick-mail.php:2598 825 msgid "Sending mail with" 826 msgstr "" 827 828 #: quick-mail.php:2600 829 msgid "plugin" 830 msgstr "" 831 832 #: quick-mail.php:2607 833 msgid "Prevent users from sending email to administrators" 834 msgstr "" 835 836 #: quick-mail.php:2608 837 msgid "Grant Editors access to user list" 838 msgstr "" 839 840 #: quick-mail.php:2609 841 msgid "Otherwise only administrators can view the user list" 842 msgstr "" 843 844 #: quick-mail.php:2613 845 msgid "Check if recipient domain accepts email." 846 msgstr "" 847 848 #: quick-mail.php:2615 849 msgid "Checks domain with" 850 msgstr "" 851 852 #: quick-mail.php:2639 853 msgid "Display list of commenters, instead of users." 854 msgstr "" 855 856 #: quick-mail.php:2640 857 msgid "Select recipient from commenters." 858 msgstr "" 859 860 #: quick-mail.php:2641 861 msgid "enabling comments" 862 msgstr "" 863 864 #: quick-mail.php:2642 865 msgid "discussion settings" 866 msgstr "" 867 868 #: quick-mail.php:2643 869 msgid "See" 870 msgstr "" 871 872 #: quick-mail.php:2644 873 msgid "for additional information." 874 msgstr "" 875 876 #: quick-mail.php:2645 877 msgid "and" 878 msgstr "" 879 880 #: quick-mail.php:2646 881 msgid "Reply to comments on your published content." 882 msgstr "" 883 884 #: quick-mail.php:2647 885 msgid "Comments are often disabled on older content." 886 msgstr "" 887 888 #: quick-mail.php:2648 889 msgid "Comments must be enabled to reply." 890 msgstr "" 891 892 #: quick-mail.php:2649 893 msgid "Invalid mail addresses are not displayed." 894 msgstr "" 895 896 #: quick-mail.php:2651 897 msgid "Limit displayed comments to past number of days." 898 msgstr "" 899 900 #: quick-mail.php:2652 901 msgid "Hide comments to posts modified over selected days ago." 902 msgstr "" 903 661 904 #: quick-mail.php:2658 662 #: quick-mail.php:2666663 msgid "Add Paragraphs"664 msgstr ""665 666 #: quick-mail.php:2132667 msgid "Add Paragraphs to sent mail"668 msgstr ""669 670 #: quick-mail.php:2137671 #: quick-mail.php:2690672 msgid "User Display"673 msgstr ""674 675 #: quick-mail.php:2147676 #: quick-mail.php:2621677 msgid "Limit comments"678 msgstr ""679 680 #: quick-mail.php:2148681 msgid "days"682 msgstr ""683 684 #: quick-mail.php:2149685 msgid "Limit displayed comments to a number of days."686 msgstr ""687 688 #: quick-mail.php:2163689 #: quick-mail.php:2581690 msgid "Show user roles"691 msgstr ""692 693 #: quick-mail.php:2164694 #: quick-mail.php:2582695 msgid "Let administrators see role on user list."696 msgstr ""697 698 #: quick-mail.php:2172699 #: quick-mail.php:2677700 msgid "Show All Users"701 msgstr ""702 703 #: quick-mail.php:2179704 msgid "Show all users sorted by nickname"705 msgstr ""706 707 #: quick-mail.php:2182708 #: quick-mail.php:2205709 msgid "matching users"710 msgstr ""711 712 #: quick-mail.php:2193713 #: quick-mail.php:2681714 msgid "Show Users with Names"715 msgstr ""716 717 #: quick-mail.php:2201718 msgid "Show users with names, sorted by last name"719 msgstr ""720 721 #: quick-mail.php:2222722 msgid "Need three users to display User List for sender, recipient, CC."723 msgstr ""724 725 #: quick-mail.php:2224726 msgid "User List was disabled by system administrator."727 msgstr ""728 729 #: quick-mail.php:2229730 msgid "Enter address to send mail."731 msgstr ""732 733 #: quick-mail.php:2229734 msgid "Saves 12 addresses."735 msgstr ""736 737 #: quick-mail.php:2231738 msgid "Save Options"739 msgstr ""740 741 #: quick-mail.php:2370742 #: quick-mail.php:2398743 msgid "Private Reply"744 msgstr ""745 746 #: quick-mail.php:2481747 msgid "Send Reliable Email from WordPress with Quick Mail has additional information."748 msgstr ""749 750 #: quick-mail.php:2499751 msgid "Sender, recipient, CC."752 msgstr ""753 754 #: quick-mail.php:2520755 msgid "User totals are adjusted because administrator profiles are hidden"756 msgstr ""757 758 #: quick-mail.php:2525759 msgid "Three non-administrator profiles are required for user lists."760 msgstr ""761 762 #: quick-mail.php:2536763 msgid "SparkPost plugin is active"764 msgstr ""765 766 #: quick-mail.php:2538767 msgid "Administrators send mail with SparkPost credentials"768 msgstr ""769 770 #: quick-mail.php:2540771 msgid "Sending mail with SparkPost"772 msgstr ""773 774 #: quick-mail.php:2545775 msgid "Mailgun plugin is active"776 msgstr ""777 778 #: quick-mail.php:2547779 msgid "Administrators send mail with Mailgun credentials"780 msgstr ""781 782 #: quick-mail.php:2549783 msgid "Sending mail with Mailgun"784 msgstr ""785 786 #: quick-mail.php:2556787 msgid "plugin is active"788 msgstr ""789 790 #: quick-mail.php:2569791 msgid "Sending mail with"792 msgstr ""793 794 #: quick-mail.php:2571795 msgid "plugin"796 msgstr ""797 798 #: quick-mail.php:2578799 msgid "Prevent users from sending email to administrators"800 msgstr ""801 802 #: quick-mail.php:2579803 msgid "Grant Editors access to user list"804 msgstr ""805 806 #: quick-mail.php:2580807 msgid "Otherwise only administrators can view the user list"808 msgstr ""809 810 #: quick-mail.php:2584811 msgid "Check if recipient domain accepts email."812 msgstr ""813 814 #: quick-mail.php:2586815 msgid "Checks domain with"816 msgstr ""817 818 #: quick-mail.php:2610819 msgid "Display list of commenters, instead of users."820 msgstr ""821 822 #: quick-mail.php:2611823 msgid "Select recipient from commenters."824 msgstr ""825 826 #: quick-mail.php:2612827 msgid "enabling comments"828 msgstr ""829 830 #: quick-mail.php:2613831 msgid "discussion settings"832 msgstr ""833 834 #: quick-mail.php:2614835 msgid "See"836 msgstr ""837 838 #: quick-mail.php:2615839 msgid "for additional information."840 msgstr ""841 842 #: quick-mail.php:2616843 msgid "and"844 msgstr ""845 846 #: quick-mail.php:2617847 msgid "Reply to comments on your published content."848 msgstr ""849 850 #: quick-mail.php:2618851 msgid "Comments are often disabled on older content."852 msgstr ""853 854 #: quick-mail.php:2619855 msgid "Comments must be enabled to reply."856 msgstr ""857 858 #: quick-mail.php:2620859 msgid "Invalid mail addresses are not displayed."860 msgstr ""861 862 #: quick-mail.php:2622863 msgid "Limit displayed comments to past number of days."864 msgstr ""865 866 #: quick-mail.php:2623867 msgid "Hide comments to posts modified over selected days ago."868 msgstr ""869 870 #: quick-mail.php:2629871 905 msgid "Select Disable Replies to Comments to remove this feature." 872 906 msgstr "" 873 907 874 #: quick-mail.php:26 33908 #: quick-mail.php:2662 875 909 msgid "to let authors use this feature" 876 910 msgstr "" 877 911 878 #: quick-mail.php:26 36912 #: quick-mail.php:2665 879 913 msgid "Email domains are always validated." 880 914 msgstr "" 881 915 882 #: quick-mail.php:26 53916 #: quick-mail.php:2682 883 917 msgid "Add line breaks and paragraphs to HTML mail" 884 918 msgstr "" 885 919 886 #: quick-mail.php:26 54920 #: quick-mail.php:2683 887 921 msgid "with" 888 922 msgstr "" 889 923 890 #: quick-mail.php:26 55924 #: quick-mail.php:2684 891 925 msgid "Many plugins change the WordPress editor" 892 926 msgstr "" 893 927 894 #: quick-mail.php:26 56928 #: quick-mail.php:2685 895 929 msgid "Test this option on your system to know if you need it" 896 930 msgstr "" 897 931 898 #: quick-mail.php:2 678932 #: quick-mail.php:2707 899 933 msgid "Select users by WordPress nickname" 900 934 msgstr "" 901 935 902 #: quick-mail.php:2 682936 #: quick-mail.php:2711 903 937 msgid "Select users with first and last names" 904 938 msgstr "" 905 939 906 #: quick-mail.php:2 685940 #: quick-mail.php:2714 907 941 msgid "Enter user addresses. 12 addresses are saved" 908 942 msgstr "" 909 943 910 #: quick-mail.php:27 01944 #: quick-mail.php:2730 911 945 msgid "Several" 912 946 msgstr "" 913 947 914 #: quick-mail.php:27 02948 #: quick-mail.php:2731 915 949 msgid "https://wordpress.org/plugins/search/smtp/" 916 950 msgstr "" 917 951 918 #: quick-mail.php:2703 952 #: quick-mail.php:2732 953 #: quick-mail.php:2799 954 msgid "SMTP Plugins" 955 msgstr "" 956 957 #: quick-mail.php:2734 958 msgid "let you send mail from a public mail account" 959 msgstr "" 960 961 #: quick-mail.php:2737 962 msgid "https://www.mailgun.com/" 963 msgstr "" 964 965 #: quick-mail.php:2738 966 msgid "Mailgun" 967 msgstr "" 968 969 #: quick-mail.php:2742 970 msgid "https://sendgrid.com/" 971 msgstr "" 972 973 #: quick-mail.php:2747 974 msgid "https://sparkpost.com/" 975 msgstr "" 976 977 #: quick-mail.php:2748 978 msgid "SparkPost" 979 msgstr "" 980 981 #: quick-mail.php:2756 982 msgid "are recommended" 983 msgstr "" 984 985 #: quick-mail.php:2758 986 msgid "Send Reliable Email from WordPress with Quick Mail" 987 msgstr "" 988 989 #: quick-mail.php:2762 990 msgid "How to Fix Delivery Errors" 991 msgstr "" 992 993 #: quick-mail.php:2766 994 msgid "Delivering mail with SparkPost." 995 msgstr "" 996 997 #: quick-mail.php:2768 998 msgid "Delivering mail with Mailgun." 999 msgstr "" 1000 919 1001 #: quick-mail.php:2770 920 msgid "SMTP Plugins"921 msgstr ""922 923 #: quick-mail.php:2705924 msgid "let you send mail from a public mail account"925 msgstr ""926 927 #: quick-mail.php:2708928 msgid "https://www.mailgun.com/"929 msgstr ""930 931 #: quick-mail.php:2709932 msgid "Mailgun"933 msgstr ""934 935 #: quick-mail.php:2713936 msgid "https://sendgrid.com/"937 msgstr ""938 939 #: quick-mail.php:2718940 msgid "https://sparkpost.com/"941 msgstr ""942 943 #: quick-mail.php:2719944 msgid "SparkPost"945 msgstr ""946 947 #: quick-mail.php:2727948 msgid "are recommended"949 msgstr ""950 951 #: quick-mail.php:2729952 msgid "Send Reliable Email from WordPress with Quick Mail"953 msgstr ""954 955 #: quick-mail.php:2733956 msgid "How to Fix Delivery Errors"957 msgstr ""958 959 #: quick-mail.php:2737960 msgid "Delivering mail with SparkPost."961 msgstr ""962 963 #: quick-mail.php:2739964 msgid "Delivering mail with Mailgun."965 msgstr ""966 967 #: quick-mail.php:2741968 1002 msgid "Delivering mail with SendGrid." 969 1003 msgstr "" 970 1004 971 #: quick-mail.php:27 471005 #: quick-mail.php:2776 972 1006 msgid "Excellent!" 973 1007 msgstr "" 974 1008 975 #: quick-mail.php:27 551009 #: quick-mail.php:2784 976 1010 msgid "Use these products and services with Quick Mail to fix delivery errors" 977 1011 msgstr "" 978 1012 979 #: quick-mail.php:27 581013 #: quick-mail.php:2787 980 1014 msgid "Mail Delivery Service" 981 1015 msgstr "" 982 1016 983 #: quick-mail.php:27 621017 #: quick-mail.php:2791 984 1018 msgid "Use a mail delivery service to send reliable email anywhere." 985 1019 msgstr "" 986 1020 987 #: quick-mail.php:27 671021 #: quick-mail.php:2796 988 1022 msgid "Mailgun and SparkPost are free" 989 1023 msgstr "" 990 1024 991 #: quick-mail.php:2 7791025 #: quick-mail.php:2808 992 1026 msgid "Delivery Errors" 993 1027 msgstr "" 994 1028 995 #: quick-mail.php:2 7891029 #: quick-mail.php:2818 996 1030 msgid "wp help quick-mail" 997 1031 msgstr "" 998 1032 999 #: quick-mail.php:2 7901033 #: quick-mail.php:2819 1000 1034 msgid "Use Quick Mail with WP-CLI" 1001 1035 msgstr "" 1002 1036 1003 #: quick-mail.php:2 7911037 #: quick-mail.php:2820 1004 1038 msgid "Send files and links from the command line" 1005 1039 msgstr "" 1006 1040 1007 #: quick-mail.php:2 7941041 #: quick-mail.php:2823 1008 1042 msgid "Enter" 1009 1043 msgstr "" 1010 1044 1011 #: quick-mail.php:2 7961045 #: quick-mail.php:2825 1012 1046 msgid "to get started" 1013 1047 msgstr "" 1014 1048 1015 #: quick-mail.php:28 021049 #: quick-mail.php:2831 1016 1050 msgid "WP-CLI" 1017 1051 msgstr "" 1018 1052 1019 #: quick-mail.php:28 671053 #: quick-mail.php:2896 1020 1054 msgid "Adding CC" 1021 1055 msgstr "" 1022 1056 1023 #: quick-mail.php:28 681057 #: quick-mail.php:2897 1024 1058 msgid "Enter multiple addresses by separating them with a space or comma." 1025 1059 msgstr "" 1026 1060 1027 #: quick-mail.php:28 691028 msgid "Press <Command>while clicking, to select multiple users."1029 msgstr "" 1030 1031 #: quick-mail.php:28 701032 msgid "Press <Control>while clicking, to select multiple users."1033 msgstr "" 1034 1035 #: quick-mail.php:2 8711061 #: quick-mail.php:2898 1062 msgid "Press Command while clicking, to select multiple users." 1063 msgstr "" 1064 1065 #: quick-mail.php:2899 1066 msgid "Press Control while clicking, to select multiple users." 1067 msgstr "" 1068 1069 #: quick-mail.php:2900 1036 1070 msgid "You can select multiple users" 1037 1071 msgstr "" 1038 1072 1039 #: quick-mail.php:2 8841073 #: quick-mail.php:2913 1040 1074 msgid "Attachments" 1041 1075 msgstr "" 1042 1076 1043 #: quick-mail.php:2 8931077 #: quick-mail.php:2922 1044 1078 msgid "You can attach multiple files to your message" 1045 1079 msgstr "" 1046 1080 1047 #: quick-mail.php:2 8951081 #: quick-mail.php:2924 1048 1082 msgid "from up to six directories" 1049 1083 msgstr "" 1050 1084 1051 #: quick-mail.php:2 8981085 #: quick-mail.php:2927 1052 1086 msgid "Press <Command> while clicking, to select multiple files." 1053 1087 msgstr "" 1054 1088 1055 #: quick-mail.php:2 8991089 #: quick-mail.php:2928 1056 1090 msgid "Press <Control> while clicking, to select multiple files." 1057 1091 msgstr "" 1058 1092 1059 #: quick-mail.php:29 001093 #: quick-mail.php:2929 1060 1094 msgid "You can select multiple files" 1061 1095 msgstr "" 1062 1096 1063 #: quick-mail.php: 29781097 #: quick-mail.php:3007 1064 1098 msgid "Settings" 1065 1099 msgstr "" -
quick-mail/trunk/lib/js/quick-mail.js
r2004875 r2045470 1 // Welcome to quick-mail.js 3.5. 01 // Welcome to quick-mail.js 3.5.1 2 2 /** 3 3 * Set local storage. … … 464 464 if (jQuery('#show_quick_mail_roles').prop('checked')) { 465 465 jQuery('#show_quick_mail_roles').prop('checked', false); 466 jQuery('#show_quick_mail_roles').prop('disabled', true);467 }466 } // end if roles is checked. 467 jQuery('#show_quick_mail_roles').prop('disabled', true); 468 468 } else { 469 469 if (jQuery('#show_quick_mail_roles').length) { -
quick-mail/trunk/quick-mail.php
r2004875 r2045470 4 4 * Plugin Name: Quick Mail 5 5 * Description: Send text or html email with attachments from user's credentials. Select recipient from users or commenters. 6 * Version: 3.5. 06 * Version: 3.5.2 7 7 * Author: Mitchell D. Miller 8 8 * Author URI: https://badmarriages.net/author/mitchell-d-miller/ 9 * Plugin URI: https://wheredidmybraingo.com/quick-mail- improves-translations-adds-roles/9 * Plugin URI: https://wheredidmybraingo.com/quick-mail-3-5-2-email-everyone-wordpress-site/ 10 10 * Text Domain: quick-mail 11 11 * Domain Path: /lang … … 18 18 /* 19 19 * Quick Mail WordPress Plugin - Send mail from WordPress using Quick Mail 20 * Copyright (C) 2014-201 8Mitchell D. Miller20 * Copyright (C) 2014-2019 Mitchell D. Miller 21 21 * 22 22 * This program is free software; you can redistribute it and/or modify … … 647 647 if ( 'A' === $option || 'B' === $option ) { 648 648 $nickname = ucfirst( get_user_meta( $user->ID, 'nickname', true ) ); 649 $users[] = "{$nickname}\t{$user->user_email} ";649 $users[] = "{$nickname}\t{$user->user_email}\t{$user->ID}"; 650 650 } else { 651 651 $last = ucfirst( get_user_meta( $user->ID, 'last_name', true ) ); … … 669 669 for ( $i = 0; $i < $j; $i++ ) { 670 670 $row = explode( "\t", $users[ $i ] ); 671 if ( 'A' === $option ) {671 if ( 'A' === $option || 'B' === $option ) { 672 672 $address = rawurlencode( "\"{$row[0]}\" <{$row[1]}>" ); 673 673 } else { … … 1422 1422 } // end if 1423 1423 1424 $recipients = QuickMailUtil::count_recipients( $headers ); 1425 if ( 100 < $recipients ) { 1426 $direction = is_rtl() ? 'rtl' : 'ltr'; 1427 $padding = is_rtl() ? 'padding-right: 2em;' : 'padding-left: 2em;'; 1428 $error = sprintf( 1429 '%s <a class="wp-ui-text-highlight" style="%s" href="javascript:history.back()">%s</a>', 1430 esc_html( __( 'Cannot send mail to over 100 recipients.', 'quick-mail' ) ), 1431 esc_attr( $padding ), 1432 esc_html( __( 'Edit mail.', 'quick-mail' ) ) 1433 ); 1434 $args = array( 1435 'response' => 200, 1436 'back_link' => false, 1437 'text_direction' => $direction, 1438 ); 1439 wp_die( sprintf( '<span style="font-size: 1.5em;" role="alert">%s</span>', $error, esc_html( __( 'Mail Error', 'quick-mail' ) ), $args ) ); 1440 } // end if over 100 recipients. 1441 1424 1442 if ( user_can_richedit() && 'text/html' === $this->content_type && '1' === get_user_meta( get_current_user_id(), 'qm_wpautop', true ) ) { 1425 1443 $message = wpautop( $message ); … … 1438 1456 } // end if toggle SparkPost transactional 1439 1457 1440 if ( wp_mail( $to, $subject, $message, $headers, $attachments ) ) { 1458 if ( defined( 'QUICK_MAIL_TESTING' ) && QUICK_MAIL_TESTING ) { 1459 $message = ''; 1460 foreach ( $headers as $one ) { 1461 $message .= esc_html( $one ) . '<br>'; 1462 } // end foreach. 1463 $success = sprintf( '%s : %s<br>%s', __( 'To', 'quick-mail' ), $to, $message ); 1464 } elseif ( wp_mail( $to, $subject, $message, $headers, $attachments ) ) { 1441 1465 $success = __( 'Message Sent', 'quick-mail' ); 1442 1466 $rec_label = ( 'Cc' === $rec_type ) ? __( 'CC', 'quick-mail' ) : __( 'BCC', 'quick-mail' ); … … 1527 1551 // Inform user that Quick Mail is verifying addresses. 1528 1552 ?> 1553 1554 <?php if ( defined( 'QUICK_MAIL_TESTING' ) && QUICK_MAIL_TESTING ) : ?> 1555 <h1 id="quick-mail-title" class="quick-mail-title"><?php esc_html_e( 'Quick Mail', 'quick-mail' ); ?> <span class="wp-ui-text-highlight"><?php esc_html_e( 'TEST MODE', 'quick-mail' ); ?></span></h1> 1556 <?php else : ?> 1529 1557 <h1 id="quick-mail-title" class="quick-mail-title"><?php esc_html_e( 'Quick Mail', 'quick-mail' ); ?></h1> 1558 <?php endif; ?> 1530 1559 <?php if ( ! empty( $no_uploads ) ) : ?> 1531 1560 <div class="update-nag notice is-dismissible"> … … 2575 2604 } // end if got replacement API 2576 2605 2577 $content .= '<dt><strong>' . __( 'Hide Administrator Profiles', 'quick-mail' ) . '</strong></dt>';2578 $content .= '<dd>' . __( 'Prevent users from sending email to administrators', 'quick-mail' ) . '.</dd>';2579 $content .= '<dt><strong>' . __( 'Grant Editors access to user list', 'quick-mail' ) . '</strong></dt>';2580 $content .= '<dd>' . __( 'Otherwise only administrators can view the user list', 'quick-mail' ) . '</dd>';2581 $content .= '<dt><strong>' . __( 'Show user roles', 'quick-mail' ) . '</strong></dt>';2582 $content .= '<dd>' . __( 'Let administrators see role on user list.', 'quick-mail' ) . '</dd>';2583 $content .= '<dt><strong>' . __( 'Verify recipient email domains', 'quick-mail' ) . '</strong></dt>';2584 $content .= '<dd>' . __( 'Check if recipient domain accepts email.', 'quick-mail' ) . '</dd>';2606 $content .= '<dt><strong>' . __( 'Hide Administrator Profiles', 'quick-mail' ) . '</strong></dt>'; 2607 $content .= '<dd>' . __( 'Prevent users from sending email to administrators', 'quick-mail' ) . '.</dd>'; 2608 $content .= '<dt><strong>' . __( 'Grant Editors access to user list', 'quick-mail' ) . '</strong></dt>'; 2609 $content .= '<dd>' . __( 'Otherwise only administrators can view the user list', 'quick-mail' ) . '</dd>'; 2610 $content .= '<dt><strong>' . __( 'Show user roles', 'quick-mail' ) . '</strong></dt>'; 2611 $content .= '<dd>' . __( 'Let administrators see role on user list.', 'quick-mail' ) . '</dd>'; 2612 $content .= '<dt><strong>' . __( 'Verify recipient email domains', 'quick-mail' ) . '</strong></dt>'; 2613 $content .= '<dd>' . __( 'Check if recipient domain accepts email.', 'quick-mail' ) . '</dd>'; 2585 2614 $english_dns = __( 'http://php.net/manual/en/function.checkdnsrr.php', 'quick-mail' ); 2586 2615 $z = __( 'Checks domain with', 'quick-mail' ); … … 2588 2617 $content .= "<dd>{$z} {$dnserr_link}</dd>"; 2589 2618 $content .= '<dd class="wp-ui-text-highlight">' . __( 'Turn verification off if Quick Mail rejects a valid address.', 'quick-mail' ) . '</dd>'; 2590 $content .= '</dl>';2619 $content .= '</dl>'; 2591 2620 $screen->add_help_tab( 2592 2621 array( … … 2867 2896 $cc_title = __( 'Adding CC', 'quick-mail' ); 2868 2897 $xhelp = __( 'Enter multiple addresses by separating them with a space or comma.', 'quick-mail' ); 2869 $mac_names = __( 'Press <Command>while clicking, to select multiple users.', 'quick-mail' );2870 $win_names = __( 'Press <Control>while clicking, to select multiple users.', 'quick-mail' );2898 $mac_names = __( 'Press Command while clicking, to select multiple users.', 'quick-mail' ); 2899 $win_names = __( 'Press Control while clicking, to select multiple users.', 'quick-mail' ); 2871 2900 $mob_names = __( 'You can select multiple users', 'quick-mail' ); 2872 2901 $nhelp = ''; -
quick-mail/trunk/readme.txt
r2004875 r2045470 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY 5 5 Requires at least: 5.0 6 Tested up to: 5. 16 Tested up to: 5.2 7 7 Requires PHP: 5.3 8 Stable tag: 3.5. 08 Stable tag: 3.5.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 19 19 Send a Web page, file, or message from the command line with quick-mail command for [WP-CLI](https://wp-cli.org/). 20 20 21 ** Does not need the Gutenberg editor. ** 22 21 23 Edit messages with [TinyMCE](https://codex.wordpress.org/TinyMCE) to add images, rich text and [shortcodes](https://codex.wordpress.org/Shortcode). 22 24 … … 29 31 Multiple files from up to six directories (folders) can be attached to a message. 30 32 33 =Features= 34 35 * [WP-CLI](https://wp-cli.org/) command to send a file or the contents of a Web page. Send email to a single recipient, select site users by [WordPress role](https://codex.wordpress.org/Roles_and_Capabilities) or send to all users. 36 37 * Sends text or html mails to multiple recipients. Content type is determined from message. 38 39 * Send private replies with attachments to comments. 40 41 * Multiple recipients can be selected from users or entered manually. 42 43 * Saves message and subject on form to send repeat messages. 44 45 * Saves last 12 email addresses entered on form. 46 47 * Share a WordPress draft by copying / pasting its code into a message. 48 49 * Option to validate recipient domains with [checkdnserr](http://php.net/manual/en/function.checkdnsrr.php) before mail is sent. 50 51 * Validates international domains if [idn_to_ascii](http://php.net/manual/en/function.idn-to-ascii.php) is available to convert domain to [Punycode](https://tools.ietf.org/html/rfc3492). 52 53 * Site options for administrators to hide their profile, and limit access to user list. 54 55 * Option to add paragraphs and line breaks to HTML messages with [wpauto](https:/codex.wordpress.org/Function_Reference/wpautop). 56 57 * Select recipient from users or commenters. 58 31 59 = Learn More = 32 60 33 * [How to Send Email from WordPress Admin](https://wheredidmybraingo.com/quick-mail-wordpress-plugin-update-send-email-to-site-users/) is an introduction.34 35 * [Quick Mail 3.4.4 Improves Deactivation](https://wheredidmybraingo.com/quick-mail-3-4-4-improves-deactivation/).61 * Introduction: [How to Send Email from WordPress Admin](https://wheredidmybraingo.com/quick-mail-wordpress-plugin-update-send-email-to-site-users/). 62 63 * Latest version: [Quick Mail 3.5.2 Sends Email to Everyone on WordPress Site](https://wheredidmybraingo.com/quick-mail-3-5-2-email-everyone-wordpress-site/). 36 64 37 65 * [Follow development on Github](https://github.com/mitchelldmiller/quick-mail-wp-plugin/). … … 87 115 * Users need permission to [list users](https://codex.wordpress.org/Roles_and_Capabilities#list_users), to view user list or change options. Minimum permission can be changed with an option or filter. 88 116 117 = Mail Delivery Services = 118 119 * Uses [Mailgun plugin](https://wordpress.org/plugins/mailgun/) settings for Administrators, if the plugin is activated, using `Override "From" Details` and [Mailgun API](https://documentation.mailgun.com/en/latest/api_reference.html). 120 121 * Uses [SparkPost plugin](https://wordpress.org/plugins/sparkpost/) settings for Administrator name and email address, if plugin is activated and `Overrides` for name and email are set. 122 123 * Option for administrators to use [Sendgrid API](https://sendgrid.com/solutions/sendgrid-api/). 124 89 125 = Sending Mail from Other Addresses = 90 126 91 * Uses [Mailgun plugin](https://wordpress.org/plugins/mailgun/) settings for Administrators, if the plugin is activated, using `Override "From" Details` and [Mailgun API](https://documentation.mailgun.com/en/latest/api_reference.html). 92 93 * Uses [SparkPost plugin](https://wordpress.org/plugins/sparkpost/) settings for Administrator name and email address, if plugin is activated and `Overrides` for name and email are set. 94 95 * Option for administrators to use [Sendgrid API](https://sendgrid.com/solutions/sendgrid-api/). 96 97 * [Replace Quick Mail Sender](https://github.com/mitchelldmiller/replace-quick-mail-sender/releases/latest) is an experimental plugin that changes the Quick Mail sender's name and email address. 98 99 * Programmers can replace their credentials by adding a filter to `replace_quick_mail_sender`. This only works if you are not using another mail plugin's credentials. 127 * Install the [Replace Quick Mail Sender](https://github.com/mitchelldmiller/replace-quick-mail-sender/releases/latest) plugin, to change the Quick Mail sender's name and email address. 128 129 * NOTE: Other email plugins can change these settings. 100 130 101 131 = Privacy = … … 110 140 111 141 * Additional recipients can be either `CC` or `BCC` but not both. 142 143 * 99 recipients for [Gmail](https://support.google.com/a/answer/166852), others. 112 144 113 145 * Multiple files can be uploaded from up to 6 folders (directories). … … 122 154 = Address Validation = 123 155 124 * Address validation is an option to check recipient domain on manually entered addresses.125 126 * International (non-ASCII) domains must be converted to [ punycode](https://tools.ietf.org/html/rfc3492) with [idn_to_ascii](http://php.net/manual/en/function.idn-to-ascii.php).156 * Check recipient domain on manually entered addresses. 157 158 * International (non-ASCII) domains must be converted to [Punycode](https://tools.ietf.org/html/rfc3492) with [idn_to_ascii](http://php.net/manual/en/function.idn-to-ascii.php). 127 159 128 160 Unfortunately, `idn_to_ascii` is not available on all systems. … … 148 180 `wp_mail` rejected an address. Seen when Quick Mail verification is off. 149 181 182 * Error: Invalid Role (WP-CLI error) 183 184 You tried sending mail to an unknown WordPress role. Use `wp list roles` to get role names. 185 186 150 187 = Incompatible Plugins = 151 188 … … 199 236 200 237 == Changelog == 238 239 = 3.5.2 = 240 * Fixed error on recipient address, when all users and show roles were selected. 241 * Added QUICK_MAIL_TESTING constant to check recipient list, without sending email. 242 * Added WP-CLI command option for sending email to all users on site. 243 * Do not send email to over 99 recipients. 244 * Do not hide role recipients, if only one recipient. 245 * Do not apply sanitize_email to WP-CLI recipient address. 246 * Removed double quotes on some user names from WP-CLI command. 247 * Replaced wp_strip_all_tags with strip_tags on AJAX email validation. 248 * Select recipients for WP-CLI command by role. 249 * Exit if WP-CLI attachment is not plain text or HTML. 250 251 = 3.5.1 = 252 * Improved translation text. 253 * Fixed: Show user roles is always disabled if Do Not Show Users is checked. 201 254 202 255 = 3.5.0 = … … 208 261 * Edited PHP to use WordPress Coding Standards. 209 262 210 = 3.4.4 =211 * Options are saved if plugin is deactivated.212 * Options are deleted if plugin in uninstalled.213 214 = 3.4.3 =215 * Fixed email address validation error.216 217 263 = Earlier versions = 218 264 … … 221 267 == Upgrade Notice == 222 268 223 = 3.5. 0=269 = 3.5.2 = 224 270 * Upgrade recommended. 225 271 226 = 3.4.4 =227 * Upgrade recommended.228 229 = 3.4.3 =230 * Upgrade recommended.231 232 = 3.4.2 =233 * Upgrade recommended.234 235 = 3.4.1 =236 * Upgrade recommended.237 238 = 3.4.0 =239 * Upgrade recommended.240 241 272 == License == 242 273 243 Quick Mail is free for personal or commercial use. Encourage future development with a [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY "Donate with PayPal").274 Quick Mail is free for personal or commercial use. Encourage future development with a [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AAGBFXRAPFJY). 244 275 245 276 == Credits ==
Note: See TracChangeset
for help on using the changeset viewer.