This section lets you adjust how Osclass sends emails (for user registration, password resets, listing inquiries, etc.) and guide you through email server setup and configuration. You can choose a Custom Server or GMail Server, define authentication details, and test the setup.
Mail server
Server Type
Custom Server: Allows you to specify any mail server (SMTP) by providing its Hostname, Port, and other credentials.
GMail Server: Automatically populates fields for Gmail’s SMTP server. You may still need to configure app-specific passwords or other security measures in your Google account.
Most of problems in Osclass relates to - incorrectly configured mail server and missing cron setup. Pay attention to this section and test well! Specially check "SMTP authentication enabled" just if you are 100% sure your hosting/mail server supports it. Message "Apache Module mod_ssl is not loaded, SMTP authentication may not be functional" is not error, it's just warning, does not explicitely cause problems with mail server, it's not loaded on 90% of hostings.
Key Fields
Hostname: The address of the mail server, such as smtp.example.com or smtp.gmail.com.
Mail from: The email address that appears as the sender (e.g., noreply@yourdomain.com). Recommended is that your mail domain match to site domain.
Name from: The sender’s display name, such as “YourSite Support.”
Server port: The port used by your mail server (often 25, 465, or 587). A port of 0 indicates no specific default is set.
Username: The login name for the mail server account, if required (e.g., demo2@demo.com).
Password: Corresponding password for SMTP authentication.
Encryption: Enter ssl, tls, or leave it blank for no encryption. If your hosting environment doesn’t have mod_ssl loaded, you may see a warning indicating limited SMTP functionality.
Additional Settings
SMTP: Check SMTP authentication enabled if your mail server requires login credentials (username and password).
POP: Enable Use POP before SMTP if your hosting or mail provider requires fetching incoming mail prior to sending (a less common authentication method).
Testing Your Configuration
Click Send test email to verify that emails can be sent successfully. You’ll receive a confirmation or error message in a popup.
If the test fails, double-check that your Hostname, Port, and credentials match your mail provider’s requirements.
What to do next?
Build trust for your domain and mails. Initially mails those contain links may be filtered by mail providers like gmail.
Create DMARC record to increase authority.
After filling out all fields, click Save changes to store your settings. If emails fail to send on the live site, confirm that your server or hosting environment supports the chosen mail protocol and encryption.