Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Email Creation Request Feature for New Interns #3269

Conversation

Akshiteshnaithani
Copy link
Contributor

Targets #3267

Description

Ending email requests to the Infra team for creating email accounts for new interns.

  • Implemented functionality to send an email to the Infra team upon clicking the "Send email" link.
  • Implemented proper routing and controller methods to handle the email creation request

Checklist:

  • I have performed a self-review of my own code.

@Akshiteshnaithani Akshiteshnaithani changed the base branch from master to feature/working-staff-management July 10, 2023 15:40
@cypress
Copy link

cypress bot commented Jul 10, 2023

Passing run #7408 ↗︎

0 4 0 0 Flakiness 0

Details:

Merge 362a6c3 into ffd39e4...
Project: Employee portal Commit: 03fd63c1bd ℹ️
Status: Passed Duration: 00:39 💡
Started: Jul 10, 2023 3:41 PM Ended: Jul 10, 2023 3:42 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@Akshiteshnaithani Akshiteshnaithani changed the base branch from feature/working-staff-management to feature/onboarding-of-new-joinee-via-gsheet July 11, 2023 05:35
@Akshiteshnaithani Akshiteshnaithani self-assigned this Jul 11, 2023
@Akshiteshnaithani Akshiteshnaithani added the status : ready for review Items that are ready for code review label Jul 11, 2023
{
return $this->from(config('mail.from.address'), config('mail.from.name'))
->subject('Subject: Request for Email Creation ' . $this->data['name'])
->to('[email protected]')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's fetch this mail from config

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't require this file

Comment on lines 2 to 6
<style>
.line {
line-height: 1px;
}
</style>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid using br tag. Instead of it, we can add a custom class here something like

Suggested change
<style>
.line {
line-height: 1px;
}
</style>
<style>
.line {
line-height: 1px;
},
.margin-bottom {
margin-bottom: 40px;
}
</style>

<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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and use the above class here as:

Suggested change
<p>Thank you for your prompt attention to this matter. Your assistance is greatly appreciated.
<p class="margin-bottom>Thank you for your prompt attention to this matter. Your assistance is greatly appreciated.

<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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<p class="line mt-4">Mohit Sharma</p>
<p class="line">Mohit Sharma</p>

@@ -204,6 +204,7 @@
'primary' => env('HR_FOLLOWUP_EMAIL_PRIMARY', '[email protected]'),
'secondary' => env('HR_FOLLOWUP_EMAIL_SECONDARY', '[email protected]'),
],
'hr-infra-mail' => '[email protected]',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'hr-infra-mail' => '[email protected]',
'hr-infra-mail' => env('INFRA_SUPPORT_EMAIL', '[email protected]'),

@Bahugunajii Bahugunajii merged commit 7a16b8a into feature/onboarding-of-new-joinee-via-gsheet Jul 13, 2023
3 checks passed
@Bahugunajii Bahugunajii deleted the feature/3267/Send-email-to-Infra-team branch July 13, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status : ready for review Items that are ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants