0nepeop1e 1adbc5afbe init | 4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
composer.json | 4 years ago |
Service provider for laravel which provide Mirfalah Swift_Transport implementation
Add following repository records into composer.json
{
"repositories": [
{
"type": "vcs",
"url": "https://git.mirfalah.my/mirfalah-tech/sendmail-swift-transport.git"
},
{
"type": "vcs",
"url": "https://git.mirfalah.my/mirfalah-tech/laravel-swift.git"
}
]
}
Then execute
composer require mirfalah/laravel-swift ^1.0
# file: config/mail.php
return [
...
'mirfalah' => [
'api_key'=> env('MIRFALAH_SENDMAIL_APIKEY'),
'secret'=> env('MIRFALAH_SENDMAIL_SECRET'),
'endpoint' => env(
'MIRFALAH_SENDMAIL_ENDPOINT',
'https://pahangmail.mirfalah.my/mirfalah-sendmail/index.php'
)
]
...
];
# file: .env
MAIL_DRIVER=mirfalah
MIRFALAH_SENDMAIL_APIKEY=""
MIRFALAH_SENDMAIL_SECRET=""