Osclass allows you to configure a mail server for sending emails. Some shared hosting providers have limited mail server capabilities, so it's recommended to check with your hosting provider for compatibility. If you have a dedicated server, you may need to install and configure mail server software such as Postfix and Courier.
Configuring Osclass to use a mail server is straightforward. The settings are located in the Mail Server section under General Settings.
If you have your own mail server, enter the following details:
smtp.yourdomain.com
, but it can also be an IP address or localhost
.ssl
, tls
, or leave blank.If you use a Google Mail account (e.g., john.doe@gmail.com
), enter the following details:
smtp.gmail.com
john.doe
)ssl
Note: Some hosting providers may not support SMTP Authentication. Try enabling or disabling this option if you encounter issues.
Check your mail server configuration in Osclass. Ensure there are no typos in the details. If everything is correct, verify that your mail server is operational by checking the mail server logs or contacting your hosting provider.
Your mail server may have stopped running, or your emails might be flagged as spam. Check the server logs for any errors. If emails are marked as spam, it could be due to sending too many emails in a short period.
After migrating a site to a new domain, ensure the contact email and admin email match the domain of the configured mail server. If they do not match, the mail server may reject emails due to a domain mismatch.
Example: If you migrate from domain1.com
to domain2.net
but keep the contact email as info@domain1.com
, and the SMTP server is configured for domain2.net
, emails may fail due to appearing as spam attempts.
If you encounter further issues, consider reaching out to Osclass support forums for assistance.