Skip to content

Commit 6a42cff

Browse files
committed
Removed test credentials, added more gitignore
1 parent 883ff7c commit 6a42cff

2 files changed

Lines changed: 37 additions & 6 deletions

File tree

.gitignore

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,33 @@
1-
/vendor/
2-
/.idea
1+
# IDE project files
2+
.idea
3+
nbproject
4+
.buildpath
5+
.project
6+
.settings
7+
8+
# windows thumbnail cache, Mac DS_Store
9+
Thumbs.db
10+
.DS_Store
11+
Desktop.ini
12+
13+
# composer vendor dir
14+
/vendor
15+
16+
# composer itself is not needed
17+
composer.phar
18+
19+
# phpunit itself is not needed
20+
phpunit.phar
21+
# local phpunit config
22+
/phpunit.xml
23+
tests/_output/*
24+
tests/_support/_generated
25+
26+
# env files
27+
.env
28+
29+
# extension dev files
30+
/ext
31+
32+
# any root PHP files
33+
/*.php

examples/form.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
$mailerConfig = [
3232
'mailer' => MailHandler::USE_PHPMAILER, // (or USE_POSTMARKAPP, USE_MANDRILL)
3333
'host' => 'smtp.gmail.com',
34-
'user' => 'kos1985.dev@gmail.com',
35-
'password' => 'kos409834',
34+
'user' => 'YOUR EMAIL',
35+
'password' => 'YOUR PASSWORD',
3636
'protocol' => 'tls',
3737
'port' => 587,
3838
];
3939

4040
$message = [
41-
'from' => ['kostant21@yahoo.com' => 'kosFrom'],
42-
'to' => ['alexp.test1@gmail.com' => 'Alex'],
41+
'from' => ['FROM EMAIL' => 'FROM NAME'],
42+
'to' => ['TO EMAIL' => 'TO NAME'],
4343
// 'cc' => ['email' => 'name'],
4444
// 'bcc' => ['email' => 'name'],
4545
'subject' => 'Contact request from {name}',

0 commit comments

Comments
 (0)