NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/ajax/transport_check.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

transport_check.php on main
Author Date Commit Line Code
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
Open commit View diff
2 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
3
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
Open commit View diff
3 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
andryyy about 6 years ago 48b74d7

[Web] Fix PHPMailer, minor style change for quarantine rcpts

Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
4
use PHPMailer\PHPMailer\PHPMailer;
Open commit View diff
4 use PHPMailer\PHPMailer\PHPMailer;
same change 48b74d7

[Web] Fix PHPMailer, minor style change for quarantine rcpts

Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
5
use PHPMailer\PHPMailer\SMTP;
Open commit View diff
5 use PHPMailer\PHPMailer\SMTP;
same change 48b74d7

[Web] Fix PHPMailer, minor style change for quarantine rcpts

Full commit hash
48b74d77a0c39bcb3399ce6603e1ad424f01fc3e
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
6
use PHPMailer\PHPMailer\Exception;
Open commit View diff
6 use PHPMailer\PHPMailer\Exception;
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
7
Open commit View diff
7
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
8
error_reporting(0);
Open commit View diff
8 error_reporting(0);
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
9
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin") {
Open commit View diff
9 if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin") {
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
10
  $transport_id = intval($_GET['transport_id']);
Open commit View diff
10 $transport_id = intval($_GET['transport_id']);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
11
  $transport_type = $_GET['transport_type'];
Open commit View diff
11 $transport_type = $_GET['transport_type'];
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
12
  if (isset($_GET['mail_from']) && filter_var($_GET['mail_from'], FILTER_VALIDATE_EMAIL)) {
Open commit View diff
12 if (isset($_GET['mail_from']) && filter_var($_GET['mail_from'], FILTER_VALIDATE_EMAIL)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
13
    $mail_from = $_GET['mail_from'];
Open commit View diff
13 $mail_from = $_GET['mail_from'];
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
14
  }
Open commit View diff
14 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
15
  else {
Open commit View diff
15 else {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
16
    $mail_from = "[email protected]";
Open commit View diff
16 $mail_from = "[email protected]";
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
17
  }
Open commit View diff
17 }
andryyy over 5 years ago b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
18
  if (isset($_GET['mail_rcpt']) && filter_var($_GET['mail_rcpt'], FILTER_VALIDATE_EMAIL)) {
Open commit View diff
18 if (isset($_GET['mail_rcpt']) && filter_var($_GET['mail_rcpt'], FILTER_VALIDATE_EMAIL)) {
same change b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
19
    $mail_rcpt = $_GET['mail_rcpt'];
Open commit View diff
19 $mail_rcpt = $_GET['mail_rcpt'];
same change b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
20
  }
Open commit View diff
20 }
same change b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
21
  else {
Open commit View diff
21 else {
same change b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
22
    $mail_rcpt = "[email protected]";
Open commit View diff
22 $mail_rcpt = "[email protected]";
same change b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
23
  }
Open commit View diff
23 }
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
24
  if ($transport_type == 'transport-map') {
Open commit View diff
24 if ($transport_type == 'transport-map') {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
25
    $transport_details = transport('details', $transport_id);
Open commit View diff
25 $transport_details = transport('details', $transport_id);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
26
    $nexthop = $transport_details['nexthop'];
Open commit View diff
26 $nexthop = $transport_details['nexthop'];
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
27
  }
Open commit View diff
27 }
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
28
  elseif ($transport_type == 'sender-dependent') {
Open commit View diff
28 elseif ($transport_type == 'sender-dependent') {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
29
    $transport_details = relayhost('details', $transport_id);
Open commit View diff
29 $transport_details = relayhost('details', $transport_id);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
30
    $nexthop = $transport_details['hostname'];
Open commit View diff
30 $nexthop = $transport_details['hostname'];
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
31
  }
Open commit View diff
31 }
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
32
  if (!empty($transport_details)) {
Open commit View diff
32 if (!empty($transport_details)) {
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
33
    // Remove [ and ]
Open commit View diff
33 // Remove [ and ]
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
34
    $hostname_w_port = preg_replace('/\[|\]/', '', $nexthop);
Open commit View diff
34 $hostname_w_port = preg_replace('/\[|\]/', '', $nexthop);
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
35
    preg_match('/\[.+\](:.+)/', $nexthop, $hostname_port_match);
Open commit View diff
35 preg_match('/\[.+\](:.+)/', $nexthop, $hostname_port_match);
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
36
    preg_match('/\[\d\.\d\.\d\.\d\](:.+)/', $nexthop, $ipv4_port_match);
Open commit View diff
36 preg_match('/\[\d\.\d\.\d\.\d\](:.+)/', $nexthop, $ipv4_port_match);
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
37
    $has_bracket_and_port = (isset($hostname_port_match[1])) ? true : false;
Open commit View diff
37 $has_bracket_and_port = (isset($hostname_port_match[1])) ? true : false;
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
38
    $is_ipv4_and_has_port = (isset($ipv4_port_match[1])) ? true : false;
Open commit View diff
38 $is_ipv4_and_has_port = (isset($ipv4_port_match[1])) ? true : false;
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
39
    $skip_lookup_mx = strpos($nexthop, '[');
Open commit View diff
39 $skip_lookup_mx = strpos($nexthop, '[');
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
40
    // Explode to hostname and port
Open commit View diff
40 // Explode to hostname and port
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
41
    if ($has_bracket_and_port) {
Open commit View diff
41 if ($has_bracket_and_port) {
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
42
      $port = substr($hostname_w_port, strrpos($hostname_w_port, ':') + 1);
Open commit View diff
42 $port = substr($hostname_w_port, strrpos($hostname_w_port, ':') + 1);
andryyy over 6 years ago 4ea843f

[Web] Replace rtrim by preg_replace to fix transport checks

Full commit hash
4ea843f0873a520a03a8edfd0ca17ba16b1ac455
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
43
      $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
Open commit View diff
43 $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
44
      if (filter_var($hostname, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
Open commit View diff
44 if (filter_var($hostname, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
andryyy about 5 years ago 8e38adf

[Web] Fix transport check for IPv6 addresses, thanks to marekschneider

Full commit hash
8e38adf2f66cab069780b4f0127ff60e798046e0
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
45
        $hostname = '[' . $hostname . ']';
Open commit View diff
45 $hostname = '[' . $hostname . ']';
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
46
      }
Open commit View diff
46 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
47
    }
Open commit View diff
47 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
48
    else {
Open commit View diff
48 else {
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
49
      if ($is_ipv4_and_has_port) {
Open commit View diff
49 if ($is_ipv4_and_has_port) {
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
50
        $port = substr($hostname_w_port, strrpos($hostname_w_port, ':') + 1);
Open commit View diff
50 $port = substr($hostname_w_port, strrpos($hostname_w_port, ':') + 1);
andryyy over 6 years ago 4ea843f

[Web] Replace rtrim by preg_replace to fix transport checks

Full commit hash
4ea843f0873a520a03a8edfd0ca17ba16b1ac455
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
51
        $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
Open commit View diff
51 $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
52
      }
Open commit View diff
52 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
53
      if (filter_var($hostname_w_port, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
Open commit View diff
53 if (filter_var($hostname_w_port, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
54
        $hostname = $hostname_w_port;
Open commit View diff
54 $hostname = $hostname_w_port;
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
55
        $port = null;
Open commit View diff
55 $port = null;
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
56
      }
Open commit View diff
56 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
57
      elseif (filter_var($hostname_w_port, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
Open commit View diff
57 elseif (filter_var($hostname_w_port, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
58
        $hostname = '[' . $hostname_w_port . ']';
Open commit View diff
58 $hostname = '[' . $hostname_w_port . ']';
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
59
        $port = null;
Open commit View diff
59 $port = null;
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
60
      }
Open commit View diff
60 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
61
      else {
Open commit View diff
61 else {
andryyy over 6 years ago 4ea843f

[Web] Replace rtrim by preg_replace to fix transport checks

Full commit hash
4ea843f0873a520a03a8edfd0ca17ba16b1ac455
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
62
        $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
Open commit View diff
62 $hostname = preg_replace('/'. preg_quote(':' . $port, '/') . '$/', '', $hostname_w_port);
andryyy over 6 years ago 56538c4

[Web] Fix transport validation, thanks to Gideon!

Full commit hash
56538c4ef827624b5005543b6e0ec4a947971503
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
63
        $port = null;
Open commit View diff
63 $port = null;
andryyy over 6 years ago 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
64
      }
Open commit View diff
64 }
same change 79ab962

[Web] Fix some transport verifications

Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
65
    }
Open commit View diff
65 }
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
66
    // Try to get MX if host is not [host]
Open commit View diff
66 // Try to get MX if host is not [host]
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
67
    if ($skip_lookup_mx === false) {
Open commit View diff
67 if ($skip_lookup_mx === false) {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
68
      getmxrr($hostname, $mx_records, $mx_weight);
Open commit View diff
68 getmxrr($hostname, $mx_records, $mx_weight);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
69
      if (!empty($mx_records)) {
Open commit View diff
69 if (!empty($mx_records)) {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
70
        for ($i = 0; $i < count($mx_records); $i++) {
Open commit View diff
70 for ($i = 0; $i < count($mx_records); $i++) {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
71
          $mxs[$mx_records[$i]] = $mx_weight[$i];
Open commit View diff
71 $mxs[$mx_records[$i]] = $mx_weight[$i];
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
72
        }
Open commit View diff
72 }
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
73
        asort ($mxs);
Open commit View diff
73 asort ($mxs);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
74
        $records = array_keys($mxs);
Open commit View diff
74 $records = array_keys($mxs);
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
75
        echo 'Using first matched primary MX for "' . $hostname . '": ';
Open commit View diff
75 echo 'Using first matched primary MX for "' . $hostname . '": ';
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
76
        $hostname = $records[0];
Open commit View diff
76 $hostname = $records[0];
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
77
        echo $hostname . '<br>';
Open commit View diff
77 echo $hostname . '<br>';
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
78
      }
Open commit View diff
78 }
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
79
      else {
Open commit View diff
79 else {
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
80
        echo 'No MX records for ' . $hostname . ' were found in DNS, skipping and using hostname as next-hop.<br>';
Open commit View diff
80 echo 'No MX records for ' . $hostname . ' were found in DNS, skipping and using hostname as next-hop.<br>';
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
81
      }
Open commit View diff
81 }
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
82
    }
Open commit View diff
82 }
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
83
    // Use port 25 if no port was given
Open commit View diff
83 // Use port 25 if no port was given
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
84
    $port = (empty($port)) ? 25 : $port;
Open commit View diff
84 $port = (empty($port)) ? 25 : $port;
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
85
    $username = $transport_details['username'];
Open commit View diff
85 $username = $transport_details['username'];
same change b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
86
    $password = $transport_details['password'];
Open commit View diff
86 $password = $transport_details['password'];
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
87
Open commit View diff
87
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
88
    $mail = new PHPMailer;
Open commit View diff
88 $mail = new PHPMailer;
andryyy almost 6 years ago 02677a9

[Web] Higher timeout for long delays in transport checks

Full commit hash
02677a97880e0f53725025058760fbd122cd449f
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
89
    $mail->Timeout = 15;
Open commit View diff
89 $mail->Timeout = 15;
André about 8 years ago 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
90
    $mail->SMTPOptions = array(
Open commit View diff
90 $mail->SMTPOptions = array(
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
91
      'ssl' => array(
Open commit View diff
91 'ssl' => array(
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
92
        'verify_peer' => false,
Open commit View diff
92 'verify_peer' => false,
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
93
        'verify_peer_name' => false,
Open commit View diff
93 'verify_peer_name' => false,
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
94
        'allow_self_signed' => true
Open commit View diff
94 'allow_self_signed' => true
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
95
      )
Open commit View diff
95 )
same change 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
96
    );
Open commit View diff
96 );
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
97
    $mail->SMTPDebug = 3;
Open commit View diff
97 $mail->SMTPDebug = 3;
andryyy almost 7 years ago 0d8a92a

[Web] Show ratelimit inheritance

Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
98
    // smtp: and smtp_enforced_tls: do not support wrapped tls, todo?
Open commit View diff
98 // smtp: and smtp_enforced_tls: do not support wrapped tls, todo?
same change 0d8a92a

[Web] Show ratelimit inheritance

Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
99
    // change postfix map to detect wrapped tls or add a checkbox to toggle wrapped tls
Open commit View diff
99 // change postfix map to detect wrapped tls or add a checkbox to toggle wrapped tls
same change 0d8a92a

[Web] Show ratelimit inheritance

Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
100
    // if ($port == 465) {
Open commit View diff
100 // if ($port == 465) {
same change 0d8a92a

[Web] Show ratelimit inheritance

Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
101
      // $mail->SMTPSecure = "ssl";
Open commit View diff
101 // $mail->SMTPSecure = "ssl";
same change 0d8a92a

[Web] Show ratelimit inheritance

Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
102
    // }
Open commit View diff
102 // }
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
103
    $mail->Debugoutput = function($str, $level) {
Open commit View diff
103 $mail->Debugoutput = function($str, $level) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
104
      foreach(preg_split("/((\r?\n)|(\r\n?)|\n)/", $str) as $line){
Open commit View diff
104 foreach(preg_split("/((\r?\n)|(\r\n?)|\n)/", $str) as $line){
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
105
        if (empty($line)) { continue; }
Open commit View diff
105 if (empty($line)) { continue; }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
106
        if (preg_match("/SERVER \-\> CLIENT: 2\d\d.+/i", $line)) {
Open commit View diff
106 if (preg_match("/SERVER \-\> CLIENT: 2\d\d.+/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
107
          echo '<span style="color:darkgreen;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
107 echo '<span style="color:darkgreen;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
108
        }
Open commit View diff
108 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
109
        elseif (preg_match("/SERVER \-\> CLIENT: 3\d\d.+/i", $line)) {
Open commit View diff
109 elseif (preg_match("/SERVER \-\> CLIENT: 3\d\d.+/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
110
          echo '<span style="color:lightgreen;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
110 echo '<span style="color:lightgreen;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
111
        }
Open commit View diff
111 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
112
        elseif (preg_match("/SERVER \-\> CLIENT: 4\d\d.+/i", $line)) {
Open commit View diff
112 elseif (preg_match("/SERVER \-\> CLIENT: 4\d\d.+/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
113
          echo '<span style="color:yellow;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
113 echo '<span style="color:yellow;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
114
        }
Open commit View diff
114 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
115
        elseif (preg_match("/SERVER \-\> CLIENT: 5\d\d.+/i", $line)) {
Open commit View diff
115 elseif (preg_match("/SERVER \-\> CLIENT: 5\d\d.+/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
116
          echo '<span style="color:red;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
116 echo '<span style="color:red;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
117
        }
Open commit View diff
117 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
118
        elseif (preg_match("/CLIENT \-\> SERVER:.+/i", $line)) {
Open commit View diff
118 elseif (preg_match("/CLIENT \-\> SERVER:.+/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
119
          echo '<span style="color:#999;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
119 echo '<span style="color:#999;font-weight:bold">' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
120
        }
Open commit View diff
120 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
121
        elseif (preg_match("/^(?!SERVER|CLIENT|Connection:|\)).+$/i", $line)) {
Open commit View diff
121 elseif (preg_match("/^(?!SERVER|CLIENT|Connection:|\)).+$/i", $line)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
122
          echo '<span>&nbsp;&nbsp;&nbsp;&nbsp;↪ ' . htmlspecialchars($line) . '</span><br>';
Open commit View diff
122 echo '<span>&nbsp;&nbsp;&nbsp;&nbsp;↪ ' . htmlspecialchars($line) . '</span><br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
123
        }
Open commit View diff
123 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
124
        else {
Open commit View diff
124 else {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
125
          echo htmlspecialchars($line) . '<br>';
Open commit View diff
125 echo htmlspecialchars($line) . '<br>';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
126
        }
Open commit View diff
126 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
127
      }
Open commit View diff
127 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
128
    };
Open commit View diff
128 };
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
129
    $mail->isSMTP();
Open commit View diff
129 $mail->isSMTP();
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
130
    $mail->Host = $hostname;
Open commit View diff
130 $mail->Host = $hostname;
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
131
    if (!empty($username)) {
Open commit View diff
131 if (!empty($username)) {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
132
      $mail->SMTPAuth = true;
Open commit View diff
132 $mail->SMTPAuth = true;
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
133
      $mail->Username = $username;
Open commit View diff
133 $mail->Username = $username;
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
134
      $mail->Password = $password;
Open commit View diff
134 $mail->Password = $password;
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
135
    }
Open commit View diff
135 }
André Peters over 8 years ago 32c0b4a

[Web] Add a timeout to PHPMailer

Full commit hash
32c0b4a2931e6512a19d16d6d4b4fb100bab309b
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
136
    $mail->Port = $port;
Open commit View diff
136 $mail->Port = $port;
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
137
    $mail->setFrom($mail_from, 'Mailer');
Open commit View diff
137 $mail->setFrom($mail_from, 'Mailer');
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
138
    $mail->Subject = 'A subject for a SMTP test';
Open commit View diff
138 $mail->Subject = 'A subject for a SMTP test';
andryyy over 5 years ago b3e3ab2

[Web] Allow to specify transport test rcpt

Full commit hash
b3e3ab2e617585795fa712f52ba8b41d9ca1ebfc
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
139
    $mail->addAddress($mail_rcpt, 'Joe Null');
Open commit View diff
139 $mail->addAddress($mail_rcpt, 'Joe Null');
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
140
    $mail->Body = 'This is our test body';
Open commit View diff
140 $mail->Body = 'This is our test body';
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
141
    $mail->send();
Open commit View diff
141 $mail->send();
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
142
  }
Open commit View diff
142 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
143
  else {
Open commit View diff
143 else {
andryyy over 7 years ago b99820d

[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports

Full commit hash
b99820d0117e364dec337915dde7d697116ee532
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
144
    echo "Unknown transport.";
Open commit View diff
144 echo "Unknown transport.";
andryyy almost 9 years ago 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
145
  }
Open commit View diff
145 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
146
}
Open commit View diff
146 }
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
147
else {
Open commit View diff
147 else {
same change 3bd7383

[Web] Add relay host testing tool

Full commit hash
3bd7383bcac87be80500e2bc5afad6ba62816727
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
148
  echo "Permission denied.";
Open commit View diff
148 echo "Permission denied.";
André about 8 years ago 8af05bb

[Web] Do not verify peer names and allow self-signed certs for relay check

Full commit hash
8af05bb45d5a056d2afb7e1fd3458ee2e8027eb4
Author
André <[email protected]>
Date
about 8 years ago
Selected line
149
}
Open commit View diff
149 }