EMAIL - Easy setup (NOT SMTP)
Description: If you're having issues getting email to work as you'd like, whether SMTP or PHP sendmail, you may find this useful.
In Categories: Miscellanea
- Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.1/kb/article/email-easy-setup-not-smtp/]Knowledge Base - EMAIL - Easy setup (NOT SMTP)[/url]
The simple answer is it's up to you but more and more hosting companies are unwilling to process emails via SMTP from sites that send a lot of emails such as bulletin boards. They seem to assume if a site sends a lot of emails, for whatever reason, that they're spam even if they aren't and, no matter what you do, sometimes your board emails may still be marked as spam at the receivers end. phpBB admins that use contact email addresses from free email services such as Google, Outlook, Zoho, Yahoo etc. can also run in to difficulties as these are often considered spam as well. Just because your SMTP service used to work doesn't mean that that will always be the case, hosts often roll out different settings which can affect emails without notice. Most hosts supply the 'correct' settings for their SMTP servers but in many cases even with the correct settings they won't work because of the above reasons. Bear in mind that in the main these issues are not because of phpBB, phpBB does not send email as such but uses whatever services are provided by the server.
If you're certain the settings your SMTP host supplies are 100% correct and it still doesn't work you should speak to the host about it.
An alternative to SMTP.
So, if your SMTP service has stopped working, you just can't get it to work or you would like to use the native PHP sendmail try this easy setup:
- Go to your hosting account and create an email address supplied by your domain like me@mydomain for example.
- Don't use admin@mydomain, info@mydomain, noreply@mydomain or any of the more common ones you see, use yourname@mydomain or mydomain@mydomain etc, be inventive.
- Go to ACP> General> Client communication> Email settings.
- Make sure SMTP is turned off (Use SMTP server for email: Yes/No)
- Replace the existing email addresses in [Contact email address] and [From email address] with the new one you created from your domain.
- Click submit.
- Test your emails.