With Osclass you could configure your email server. Some shared hosting has limited mail servers, you should always check with your hosting company about it before. If you own your own dedicated server you probably know how to set up one, if not, you should perform some searches on the internet (on a linux machine it’s enough to install postfix and courier packages).
Configuring Osclass to use your mail server is very easy, we also offer a pre-filled configuration to use with Google mail servers, you should notice Google offers a limited service and your emails could get marked as spam.
Want to see it in action? Check out our video tutorial on How to set up your mail server.
Mail server settings are located on Mail server option, under General Settings
Custom mail server
- Hostname: usually smtp.yourdomain.com but it could be any domain or IP (localhost by default)
- Server port: This is the port where is your mail server (it depends on the protocol: POP3 – port 110, IMAP – port 143, SMTP – port 25, HTTP – port 80, Secure SMTP (SSMTP) – port 465, Secure IMAP (IMAP4-SSL) – port 585, IMAP4 over SSL (IMAPS) – port 993, Secure POP3 (SSL-POP) – port 995)
- Username: This is optional, only in case your server need authentication
- Passsword: Same as Username
- Encryption: ssl, tls or left blank as possible values
- Check box for SMTP authentication check only if you’re sure what you’re doing
Google mail server
You need a Google Mail account, assume yours’ john.doe@gmail.com
- Hostname: smtp.gmail.com
- Server port: 465
- Username: your username before the @ ( “john.doe” )
- Passsword: your password
- Encryption: ssl
- Check SMTP authentication checked
Note: In some hostings option “SMTP Authentication” may not work (depends if hosting supports that), make sure to try with & without this setting.
Troubleshooting – common problems
I’m not receiving any emails – Check your configuration on the Osclass admin panel. Maybe you have misspelled some detail. If everything looks correct, then check your mail server is working properly. Contact you hosting company or check the mail server’s log to know what is happening.
It was working correctly but suddenly it stopped and I don’t receive anything – Your mail server has stopped for some reason or you’re getting your emails marked as spam. Check your mail server is running and revise its log. If they are being marked as spam, you probably have sent too many emails in a very short time interval.
I have other problems not listed here Feel free to contact us on our support forums. We will be glad to help you. When posting your question, please, give us as much information as you can, so we could offer you a solution soon.
Admin email & Site contact email use different domain then mail server – This is common issue when migrating site from old domain to new domain and forgetting to update site contact email and admin contact email. We’ve noticed that if these use different domain, in many cases mail server will not send any emails, as “from” email address domain is different.
Example: You run Osclass on domain1.com and decide to move site to domain2.net. Everything is moved, but contact email stays on info@domain1.com and admin use email admin@domain1.com. Mail server configuration was updated to use domain2.net SMTP and will try to send mail with “from mail” as info@domain1.com. This will fail as it looks like spam attempt