Stefano Tommesani

  • Increase font size
  • Default font size
  • Decrease font size
Home Web Joomla! Contact form and SMTP mail servers

Joomla! Contact form and SMTP mail servers


The Contact form in Joomla! uses the mail server settings to send the contact request email to the site administrator. However, when using SMTP servers (I've tried both Yahoo! and GMail SMTP servers), it does not work, as the email address of the sender is not recognized by the SMTP server; in fact, the only way to make the SMTP server work in the Contact form, is using your own email address to request a contact (an hardly useful feature).

You can avoid all these troubles with a Joomla! component named DFContact (that is the component used in this site's Contact page, so you can check quickly how it works). DFContact packages the information from the Contact form into an email sent from your own email address that your SMTP server will happily accept and deliver.

This is a sample email: as you can see, the sender and the addressee emails match, the email address of the person requiring the contact is inside the email body so you cannot just click on Reply to answer.

You can download DFContact from here.

Last Updated on Friday, 27 July 2012 11:13  

Latest Articles

Easily upload videos of security cameras to YouTube
In this example, we will import video from a Yi security camera into YouTube. The same process, with eventual adjustment to the naming of directories in the SD card used by the camera to record videos, will also apply to other
A software to stand out 27 January 2018, 14.35 Web
A software to stand out
Standing out of the pack starts by being visible, and being noticed by the right group of professionals. No matter how good your profile is, it is lost in a sea of similar profiles, so you need to show up and start attracting
Web page scraping, the easy way 07 January 2018, 00.46 Web
Web page scraping, the easy way
There are many ways to extract data elements from web pages, almost all of them prettier and cooler than the method proposed here, but as we are in an hurry, let's get that data quickly, ok? Suppose we have to extract the
Scraping dynamic page content 06 January 2018, 23.57 Web
Scraping dynamic page content
One of the most common roadblocks when scraping the content of web sites is getting the full contents of the page, including JS-generated data elements (probably, the ones you are looking for). So, when using CEFSharp to scrape
Unit-testing file I/O 26 November 2017, 12.09 Testing
Unit-testing file I/O
Two good news: file I/O is unit-testable, and it is surprisingly easy to do. Let's see how it works! A software no-one asked for First, we need a piece of software that deals with files and that has to be unit-tested. The