eClass-Learning Management System
  • Introduction
    • Documentation
    • Key Features
    • eClass Addons
    • Introduction
  • Installation
    • Server Requirements
    • Shared Hosting Install
    • Installation Steps
    • Installation with Apache
  • Setting Up eClass
    • PWA Setup
    • Mail Settings
    • Import Demo Content
    • Geolocation
    • Chat Settings
    • Social Login Settings
      • Facebook Login Setting.
      • Google Login Setting.
      • GitLab Login Setting.
      • LinkedIn Login Setting.
      • Amazon Login Setting.
      • Twitter Login Setting.
    • Payment Gateways
      • PayPal Payment Gateway
      • Stripe Payment Gateway
      • Razorpay Payment Gateway
      • Paytm Payment Gateway
      • Mollie Payment Gateway
      • Skrill Payment Gateway
      • Braintree Payment Gateway
      • Payflexi Payment Gateway
      • Instamojo Payment Gateway
      • PayU Money Payment Gateway
      • Cashfree Payment Gateway
      • Rave Payment Gateway
      • Paystack Payment Gateway
      • Omise Payment Gateway
    • Meetings
      • Zoom Meeting
      • Google Meet
      • Jitsi Meet
      • BigBlueButton
    • Push Notification
    • Setting Up Multicurrency
    • Home Page Setting
    • AWS Setting
    • Mail Chimp
    • Google Drive Link
    • Language Translate
    • Affiliate
    • ReCaptcha Setting
    • App Secret Key
    • Ai Tool
    • Two Factor Authentication
    • Coming Soon
  • Faqs
    • Installation FAQ's
    • General Settings
    • Access Denied
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Update Details
    • Change Log
    • Update Process
  • Video And Support
    • Support
    • Source And Credits
    • Eclass Tutorials-Youtube
  • Conclusion
    • Conclusion
  • ECLASS API
    • 🍿Getting Started
  • Login
  • Register
  • Refresh Token
  • Logout
  • Home
  • Add bundle course to cart
  • Remove bundle course from cart
  • Notifications
  • Read all Notifications
  • Instructor Details
  • Course Review
  • Chapter Total Duration
  • API Keys
  • All Courses with details
  • All Coupons
  • Order Create
  • Become an Instructor
  • Purchase History
  • About Us
  • Contact Us
  • Blog
  • Blog Detail
  • Recent Blog
  • Recent Course
  • TermsCondition & PrivacyPolicy
  • Career Page
  • Zoom Meeting
  • Big Blue Button Meeting
  • Payment Gateways Api Keys
  • Get Course Progress
  • Course Progress Update
  • Course Report
  • Coupon Apply
  • Coupon Remove
  • Course Content
  • Course Appointment Request
  • Course Assignment Submit
  • Course Question Submit
  • Course Answer Submit
  • Appointment Delete
  • Instructor Dashboard
  • Review Submit
  • Get All Categories
  • Get one category by using id
  • Create Category
  • Update Category
  • Delete Category
  • Get All SubCategories
  • Get one SubCategories by using id
  • Create SubCategories
  • Update SubCategories
  • Delete SubCategories
  • Get All ChildCategory
  • Get one ChildCategory by using id
  • Create ChildCategory
  • Update ChildCategory
  • Delete ChildCategory
  • Get All Course
  • Get one course by using id
  • Create Course
  • Update Course
  • Delete Course
  • Get All Refund Policies
  • Get All Course Language
  • Get one course language by using id
  • Create Language
  • Update Course Language
  • Get All Refund Policies
  • Get All Course Include
  • Get one course Include by using id
  • Create Include
  • Update Course Include
  • Delete Course Include
  • Get All Course WhatLearn
  • Get one course WhatLearn by using id
  • Create WhatLearn
  • Update Course WhatLearn
  • Delete Course WhatLearn
  • Get All Course Chapter
  • Get one course Chapter by using id
  • Create Course Chapter
  • Update Course Chapter
  • Delete Course Chapter
  • Get All Course Class
  • Get one course Class by using id
  • Create Course Class
  • Update Course Class
  • Delete Course Class
  • Course with pagination
  • All Languages
  • Invoice Download
  • Certificate Download
  • gift/user/check
  • Gift Checkout
  • Free Enroll
  • Quiz submit
  • Add to watchlist
  • View watchlist
  • Add to watchlist
  • Get All Order
  • Get one order by using id
  • Create Order
  • Delete Order
  • Get All Refund
  • Get one Refund by using id
  • Update Refund
  • Delete Refund
  • Update Review Like/Dislike
  • Get All Assignment
  • Get one Assignment by using id
  • Update Assignment
  • Delete Assignment
Powered by GitBook
On this page

Was this helpful?

  1. Setting Up eClass

Mail Settings

In this guide you will learn how to setup mail settings to send mail with eClass.

PreviousPWA SetupNextImport Demo Content

Last updated 1 year ago

Was this helpful?

Login To Admin -> Site Settings -> Mail Settings

In Mail Detail Section Enter the name with no spaces. There are three Mail Drivers: SMTP, Mail, Sendmail, if SMTP is not working then check Sendmail.

There are three Mail Drivers: SMTP, Mail, Sendmail, if SMTP is not working then check Sendmail.

An email driver is a software component that allows applications to send and receive email messages. It acts as an interface between the application and the email server, and allows the application to communicate with the server using a standard protocol such as SMTP (Simple Mail Transfer Protocol) or IMAP (Internet Message Access Protocol).

Email drivers are commonly used to send automated email notifications, send emails, confirmation emails or password reset emails to users.

SMTP (Simple Mail Transfer Protocol) is a protocol for sending email messages between servers. Most email systems that send mail over the Internet use SMTP to send messages from one server to another. Sendmail: The Sendmail driver uses the sendmail command-line tool installed on your server to send emails. It works well on most Unix-based systems without requiring additional configuration.

Note : If showing an error 500 in reset password, New User Registration and Payment Gateways then must check your mail setting. Reset password, New User Registration , and Payment Gateways error show due to you forget to add mail details or wrong mail details in mail setting or .env file. also check error via debug true:

Gmail SMTP Settings:

  • SMTP username: Your Gmail address.

  • SMTP server address: smtp.gmail.com.

  • Gmail SMTP port (TLS): 587.

  • SMTP port (SSL): 465.

  • SMTP TLS/SSL required: yes.

2. Once you enabled the 2 step verification on your account under security tab visit App password section as shown below.

3. Click on App passwords to create new app and it will ask you for sign in again, Sign in again to continue. Once you signed in you will see a new app creation window.

4. Click on select app option and choose Other (custom name) option. Enter the App name example : eclasssignin and click on generate button.

5. Once done ! you will successfully see a popup with password copy that password and back to eClass admin panel and visit Site Settings -> Settings -> Mail settings.

6. Put following settings in your mail settings

Mail driver : sendmail Mail port : 465 Mail username : your gmail username or email address Mail password : App password which you copied above. Mail Encryption : TLS

7. To test the mail is working on not use forget password feature and if mail not received kindly check spam folder too.

If you're receiving emails or spam folder then probably your email address is used in some phishing activities. To resolve it kindly contact mail provider, its not script issue..

The Web Site Just Showing a Blank White Page Blank white screen due to you give space in app name and mail from the name. Go to .env file and remove space and special characters in the app name and mail from the name.

to change directly in .env file -> Open and edit .env file. Locate the .env File: The .env file is located in the root directory of your Laravel project. Use a text editor to open the file.

MAIL_DRIVER=smtp (some times support sendmail)
MAIL_HOST=mail.yourdoamin.com (For Gmail = smtp.gmail.com)
MAIL_PORT=2525  (For Gmail = 465)
MAIL_USERNAME=your_emailid
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=null  (For Gmail = ssl)

SMTP password: Your Gmail password. If Using Gmail then Use App Password.

1. To Setting up Gmail 2 Step Verification must be enabled on your Gmail account if not then enable it from and visit security tab to enable it.

Process of App Password
https://myaccount.google.com
https://mediacitydocs.gitbook.io/eclass-learning-management-system/faq/untitled-5#debug-mode