-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42ae6ef
commit 362a6c3
Showing
6 changed files
with
93 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
namespace Modules\HR\Emails; | ||
|
||
use Illuminate\Bus\Queueable; | ||
use Illuminate\Mail\Mailable; | ||
use Illuminate\Queue\SerializesModels; | ||
|
||
class NewJoinerEmailForInfraTeam extends Mailable | ||
{ | ||
use Queueable, SerializesModels; | ||
|
||
public $data; | ||
|
||
/** | ||
* Create a new message instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct($data) | ||
{ | ||
$this->data = $data; | ||
} | ||
|
||
/** | ||
* Build the message. | ||
* | ||
* @return $this | ||
*/ | ||
public function build() | ||
{ | ||
return $this->from(config('mail.from.address'), config('mail.from.name')) | ||
->subject('Subject: Request for Email Creation ' .$this->data[1]) | ||
->to('[email protected]') | ||
->view('hr::mail.infra-team'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div> | ||
<style> | ||
.line { | ||
line-height: 1px; | ||
} | ||
</style> | ||
<p>Dear Infrasupport Team,</p> | ||
<p>I hope this email finds you well. I am writing to request the creation of an email account for a new employee | ||
{{ $data[1] }} in our organization. | ||
</p> | ||
<p>If there are any specific forms or documentation required for this process, kindly let me know, and I will | ||
promptly provide the necessary information.</p> | ||
<br> | ||
<p>Thank you for your prompt attention to this matter. Your assistance is greatly appreciated. | ||
Best regards,</p> | ||
<p class="line">Best regards,</p> | ||
<p class="line mt-4">Mohit Sharma</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"type": "service_account", | ||
"project_id": "ninth-nebula-392106", | ||
"private_key_id": "8478ffdda8b1e31385449eefb87eefdba915e1c1", | ||
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQD4sngydkbN90p1\nqroq4dBIF/0b3Q/2fWRfBtnFDkDXVfP1OjcrNQjjjqmKS0/PsBshvjBiWwF6kBlz\nBh1N8uaXUhhbrOLyudXsMoqYp5EZfgOkagzRZWwOjbst5dQx2sVcbdyi2kefcSGU\ng2EoV1oHfImnrnFp3eK/7fEKScxFQy5umelxgZAGuoM5hen1q8IvV0NRNEhsVJEP\n4IjHgKb5mjOuZffy/Sl7qkPSrvkiw7goGFUzGb7SPaVp3oK7fdsT7gGCIN+n2J2P\nC/caLKZTAwjPxWSmcBlFmpqT9zlbZwt6o2vfqHWBqKxgPrsQA/4lSqu3Dhc8XXQB\n8nFtaWj9AgMBAAECggEAC8uVi5/0Q/C7UKRfZKKsJb2Zhn8Wf24IDie9hiz8YoCU\nBWjHu0SUxNiV1ImcFSSFmbT/1EWVTUWIJ3fxRaqqr1LR9YfxuNBoKhkyXWlV81V4\nmvPHfHQo5ItqIGDa23h3gHN0RPcN8ZNEilr6BzDjA+4Ve0uSdN9BhP4/vrZF7XAm\nOkHwZfOyDm16U/y54GXDE5IxrpDN2qQPB30WxfX0uRj6PwDv+9DU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email protected]", | ||
"client_id": "111979648204663340683", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://oauth2.googleapis.com/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/google-sheets-api%40ninth-nebula-392106.iam.gserviceaccount.com", | ||
"universe_domain": "googleapis.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters