Skip to content

Commit 83f72e9

Browse files
committed
Fixed default port of mail examples
1 parent bfbd016 commit 83f72e9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/full-test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
$mail->isSMTP();
1212
$mail->Host = 'localhost';
13-
$mail->Port = 8025;
13+
$mail->Port = 9025;
1414
$mail->SMTPDebug = true;
1515

1616
$mail->setFrom('from@example.com', 'M. Sender');

examples/native.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require_once __DIR__ . '/../vendor/autoload.php';
66

77
ini_set('SMTP', 'localhost');
8-
ini_set('smtp_port', '8025');
8+
ini_set('smtp_port', '9025');
99
ini_set('sendmail_from', 'peehaa@example.com');
1010

1111
mail('user@example.com', 'Native mail()', 'My message');

examples/phpmailer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
$mail->isSMTP();
1212
$mail->Host = 'localhost';
13-
$mail->Port = 8025;
13+
$mail->Port = 9025;
1414
$mail->SMTPDebug = true;
1515

1616
$mail->setFrom('from@example.com', 'Mailer');

examples/swiftmailer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
require_once __DIR__ . '/../vendor/autoload.php';
66

7-
$transport = (new \Swift_SmtpTransport('localhost', 8025));
7+
$transport = (new \Swift_SmtpTransport('localhost', 9025));
88

99
$mailer = new \Swift_Mailer($transport);
1010
$logger = new \Swift_Plugins_Loggers_ArrayLogger();

0 commit comments

Comments
 (0)