Files
UNIT3D-Community-Edition/app/Mail/DeleteUser.php
2018-09-08 12:59:24 -04:00

46 lines
1010 B
PHP

<?php
/**
* NOTICE OF LICENSE
*
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
* The details is bundled with this project in the file LICENSE.txt.
*
* @project UNIT3D
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
* @author HDVinnie
*/
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class DeleteUser extends Mailable
{
use Queueable, SerializesModels;
public $email;
/**
* Create a new message instance.
*
* @param $email
*/
public function __construct($email)
{
$this->email = $email;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->markdown('emails.pruned')
->subject('Your Account Has Been Pruned - ' . config('other.title'));
}
}