Stefano Tommesani

  • Increase font size
  • Default font size
  • Decrease font size
Home Programming 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.

Quote this article on your site

To create link towards this article on your website,
copy and paste the text below in your page.




Preview :


Powered by QuoteThis © 2008
Last Updated on Friday, 27 July 2012 11:13  
View Stefano Tommesani's profile on LinkedIn

Latest Articles

Castle on the hill of crappy audio quality 19 March 2017, 01.53 Audio
Castle on the hill of crappy audio quality
As the yearly dynamic range day is close (March 31st), let's have a look at one of the biggest audio massacres of the year, Ed Sheeran's "Castle on the hill". First time I heard the song, I thought my headphones just got
Necessary evil: testing private methods 29 January 2017, 21.41 Testing
Necessary evil: testing private methods
Some might say that testing private methods should be avoided because it means not testing the contract, that is the interface implemented by the class, but the internal implementation of the class itself. Still, not all
I am right and you are wrong 28 December 2016, 14.23 Web
I am right and you are wrong
Have you ever convinced anyone that disagreed with you about a deeply held belief? Better yet, have you changed your mind lately on an important topic after discussing with someone else that did not share your point of
How Commercial Insight changes R&D 06 November 2016, 01.21 Web
How Commercial Insight changes R&D
The CEB's Commercial Insight is based on three pillars: Be credible/relevant – Demonstrate an understanding of the customer’s world, substantiating claims with real-world evidence. Be frame-breaking – Disrupt the
Windows Forms smells funny, but... 07 April 2016, 15.38 Software
Windows Forms smells funny, but...
In the "2016 .NET Community Report" just released by Telerik, the answers to the question "What technology would you choose if building for Windows Desktop?" were as follows: So roughly half of new desktop developments would

Translate