How to Add a Contact Form to SMF 2.1 with Better Contact

Started by admin, Oct 14, 2026, 08:39 AM

Previous topic - Next topic

admin

How to Add a Contact Form to SMF 2.1 with Better Contact

SMF forums often rely on email links or private messages when visitors need to contact staff.

That works, but it can expose email addresses, create extra steps for guests, and split communication between the forum and outside inboxes.

Better Contact adds a dedicated contact form to SMF 2.1 so visitors can reach staff through the site while keeping the communication organized inside the forum.

This guide walks through the basic setup.

1. Open Better Contact in the Admin Center

After installing Better Contact, open the SMF Admin Center and go to the Better Contact settings area.

This is where you control how the contact form behaves and who is allowed to use it.


2. Enable Better Contact

Make sure the contact system is enabled.

Once active, Better Contact can provide a dedicated Contact Us page instead of relying on a traditional mailto link.

This keeps visitors inside the site and gives staff a more consistent way to receive contact requests.

3. Decide who can use the contact form

Better Contact can support both registered members and guests.

This is useful because some of the people who need help most may not be able to log in.

Examples include:

  • Registration questions
  • Account access problems
  • Pre-membership questions
  • Advertising inquiries
  • General site feedback

Choose the access settings that make sense for your community.

4. Add the Contact Us link

Better Contact can provide a Contact Us link in the footer.

This gives visitors a predictable place to reach staff from anywhere on the forum.

Once enabled, test the footer link and make sure it opens the Better Contact form correctly.

5. Review the public contact form

Open the contact page as a normal member or guest.

The form should provide the fields needed to send a clear message to staff.

Depending on your setup, that may include things such as:

  • Name
  • Email address
  • Subject
  • Message

Keep the form simple enough that visitors can complete it quickly.


6. Submit a test message

Send a test request through the contact form.

Use a normal member account and, if guest contact is enabled, test from a logged-out browser as well.

This lets you confirm that both workflows behave the way you expect.

7. Check how staff receive the message

Better Contact can deliver contact requests into SMF private messaging.

That means staff can review the request from inside the forum instead of checking a completely separate support system.

Open the received message and verify that the important information from the contact form is present.

8. Reply through SMF when appropriate

If the person contacting the site is a registered member, replying through SMF may be the easiest option.

The conversation stays inside the forum and remains connected to the member account.

This works well for normal support or community questions.

9. Use Reply by Email for guests

When the contact request comes from a guest, replying through SMF may not be possible.

Better Contact can provide a Reply by Email option so staff can respond directly to the email address supplied by the visitor.

This keeps the initial contact inside the forum while still allowing the reply to reach someone who does not have an account.


10. Configure SMTP

For reliable Reply by Email delivery, make sure SMF has working outgoing email configuration.

Using SMTP is often the best option because mail is sent through an authenticated email account or mail server instead of relying entirely on the web server's local mail configuration.

The exact settings depend on your email provider.

Typical SMTP settings include:

  • SMTP server or hostname
  • Port
  • Username
  • Password
  • Encryption type

These settings are normally configured through SMF's mail settings.

11. Get SMTP settings from your host or email provider

If you are not sure which SMTP settings to use, check the documentation for your hosting company or email provider.

You can also contact your host and ask:

QuoteWhat SMTP settings should I use to send authenticated email from my website?

They should be able to provide the correct server name, port, encryption method, and authentication requirements.

12. Common SMTP ports

Different mail providers use different configurations, but commonly used SMTP ports include:

  • 587 for STARTTLS
  • 465 for implicit SSL/TLS

Do not assume one is correct for your provider.

Always use the settings supplied by your host or email service.

13. Test outgoing email

After SMTP is configured, send a test email through SMF if your setup provides that option.

Then submit another Better Contact request and use Reply by Email.

Confirm that:

  • The message sends successfully
  • The visitor receives it
  • The sender address looks correct
  • The reply does not land in spam if possible


14. Keep staff email addresses private

One advantage of Better Contact is that the public contact page does not need to expose staff email addresses.

Visitors use the form instead.

This can help reduce:

  • Spam harvesting
  • Automated junk mail
  • Unnecessary public exposure of staff addresses

The visitor still gets a clear contact method without needing to know the actual staff email address.

15. Test guest access carefully

If guest contact is enabled, log out and test the full process.

Confirm that:

  • The Contact Us page is available
  • The form submits correctly
  • The staff message is created
  • The guest email address is preserved
  • Reply by Email works

Guest workflows are worth testing separately because administrators often miss permission or validation issues while testing from an admin account.

16. Test member contact

Log in with a normal member account and send another request.

Make sure the form behaves correctly and that the request reaches staff with the expected member information.

This confirms that both guest and registered-user workflows are functioning.

17. Better Ads integration

If Better Ads is installed, Better Contact can be used as part of the advertising workflow.

For example, an Advertise With Us page can route an inquiry through Better Contact.

The subject can be prepared automatically so staff immediately know the message relates to advertising.

This avoids forcing advertisers to manually explain where their request came from.

18. Use clear subjects

Clear subjects make contact requests easier for staff to manage.

Depending on how your site is organized, subjects might include:

  • Account Help
  • Advertising Inquiry
  • Registration Problem
  • General Question
  • Site Feedback

If another Better SMF MOD sends users into Better Contact, prefilled subjects can make this even easier.

19. Test the complete workflow

Before considering the setup finished, test the whole process from start to finish.

Try:

  • Guest contact
  • Member contact
  • Staff PM delivery
  • Reply through SMF
  • Reply by Email
  • SMTP delivery
  • Footer Contact Us link
  • Better Ads integration if installed

This helps make sure visitors will not discover a problem before you do.

A cleaner way to handle contact requests

Better Contact keeps the contact experience connected to SMF.

Visitors get a simple form.

Staff receive organized messages.

Members can be answered through the forum.

Guests can be answered by email.

And staff email addresses do not have to be exposed publicly.

Simple contact. Private communication. Better support.

Want to see everything Better Contact can do?

Learn more about Better Contact for SMF 2.1
Having trouble? Please contact me through Help & Support Board.