تخطي إلى المحتوى
XREFS0 LogoXREFS0
شروحات
من نحن
تواصل معنا
شروحات
سورس كود
C#PHPVisual BasicPythonC/C++Microsoft AccessDelphi
هندسة عكسية
البرامجالشروحات
التسويق الإلكتروني
البرامجالكورساتبيانات العملاء
من نحنتواصل معنا
XREFS0

شروحات تقنية، تسويق إلكتروني، هندسة عكسية، وسورس كود — كل ما يحتاجه المطور والمبرمج في مكان واحد.

روابط سريعة

  • الرئيسية
  • من نحن
  • الشروحات
  • سورس كود
  • هندسة عكسية
  • التسويق الإلكتروني

قانوني

  • سياسة الخصوصية
  • شروط الاستخدام
  • إخلاء المسؤولية
  • DMCA
  • إزالة محتوى
  • رابط معطل
  • الأسئلة الشائعة

ابقَ على تواصل

اشترك للحصول على آخر الشروحات والأدوات مباشرة.

اشترك في القناة

© 2026 XREFS0. جميع الحقوق محفوظة

صُنع بـ ❤️ للمطورين العرب

  1. XREFS0
  2. سورس كود
  3. PHP
  4. Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP
مشروع
2026-07-312,891

Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP

This article's main purpose is to give updated instructions on the new way of using Gmail SMTP for sending the generated payslip as mail with attachment of the Employee Payslip Generator System that I...

Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP
PHPSource CodeFree

Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP

This article's main purpose is to give updated instructions on the new way of using Gmail SMTP for sending the generated payslip as mail with attachment of the Employee Payslip Generator System that I have published previously. Here, I will show you how to set up your Gmail account using XAMPP's sendmail package. Less Secure Option is not existing anymore on Google, to make the mailing feature of the system still possible, we will use the Google App Password feature for signing in or authenticating. What is Employee Payslip Generator System? The Employee Payslip Generator System is a PHP Project that I have published before. The system was developed for a certain company and allows the management to easily calculate the company's employee payroll and generate a PDF payslip. It has a feature to send the generated payslip to their employees' email. The generated payslip is encrypted and the password will be provided only to employees. To know more about the system, visit the Employees Pay Slip PDF Generator System with Email using PHP/OOP Free Source Code article on this site. System Snapshots

Setting up Gmail Account as an Email Sender in XAMPP Here are the steps to set up your Gmail Account as the Email sender of the Employee Payslip Generator System in XAMPP. Step 1 Go to your Google Accounts page.

Step 2 Next, navigate the page into the Security page. To do that, select the Security menu on the left sidebar of the page.

Step 3 Next, scroll down the page until your reach the Signing into Google card or panel. Then enable the 2-Step Verification. Continue the process of enabling this feature.

Step 4 Next, click the App Passwords menu or option on Signing in to Google card or panel.

Step 5 Then generate a new password for your web server to use to authenticate for using the Gmail SMTP. To do that click the Select app dropdown and choose the Other (Custom name).

Next, write the App Password Name you want and click the Generate button.

Then, a popup modal will show containing the generated password. Copy and paste the generated password securely.

Set up php.ini file Mail Function After setting up your Google Account, set up the PHP mailing function like the following. Note, use the same value for the SMTP and SMTP_PORT variables. The php.ini file is located in [xampp-directory]/php directory.

Configure sendmail.ini file Next, configure the sendmail.ini file for Gmail SMTP setup. The file is located in [xampp-directory]/sendmail directory.

That's it! If you don't have the Employees Pay Slip PDF Generator System source code yet. The source code is provided also in this article and is free to download. The download button is located below this article's content. I hope this Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP will help you with what you are looking for and will be useful for your current and future PHP Projects. Explore more on this website for more Tutorials and Free Source Codes. Enjoy =)

Screenshots

Screenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot\nScreenshot

Download Project

Download Updated - Employee Payslip Generator with Sending Mail using PHP and Gmail SMTP
2.9K views
999 تحميل
FacebookTweet This
346
العودة لـ PHP

مشاريع ذات صلة

AC Repair and Services System using PHP and MySQL Source Code Free Download

This project is entitled AC Repair and Services System. This web-based application provides an online platform for Air Conditioner Repair and Services Company's possible clients to book a request for ...

2026-07-31

Accounting Journal Management System with Trial Balance in PHP Free Source Code

Introduction This is a Simple PHP entitled Accounting Journal Management System with Trial balance. This is a web-based application project that helps a certain company to store their transaction reco...

2026-07-31

Advance Charity Management System using PHP and MySQL Source Code Free Download

The project is called "Advance Charity Management System" and was developed using various technologies including PHP, MySQL Database, HTML, CSS, JavaScript (jQuery and Ajax), Bootstrap, AdminLTE Templ...

2026-07-31