1

I'm using Joomla 3.0 and I created a basic contact form. I created a mail id in info@domain.com in Webmail.

In the contact form, after filling the details and submitting the form, I'm getting the error:

smtp connect failed.

The mail setting details are below:

  • send mail: yes
  • mailer: smtp
  • from email: info@domain.com
  • from name: name
  • smtp authentification: no
  • smtp security: ssl
  • smtp port: 465
  • smtp username: info@domain.com
  • smtp password: ****
  • smtp host: relay-hosting.secureserver.net

Please help me to solve this issue.

  • You have the mail connection settings wrong. You need to get the correct settings from your webhost. – Seth Warburton Oct 15 '14 at 12:05
  • Nothing else is wrong?? – user3232285 Oct 15 '14 at 12:15
  • For one, smtp authentication should be set to YES, otherwise it can't actually authenticate on your server. – Brian Peat Oct 15 '14 at 13:18
  • i set all the details like smtp authentication to yes, but still its not workin – user3232285 Oct 15 '14 at 13:22
  • Do you have a particular reason for using SMTP instead of PHP Mail? – Bogowoe Oct 16 '14 at 16:15
2

Some hosts blacklist SMTP mail servers and the PHP mail setting just never consistently works. We ended up having to use mandrill's API http://mandrill.com/.

There is an exellent extension to use the API instead for all mail on your site. CMandrill. https://compojoom.com/joomla-extensions/mandrill-transactional-emails-made-easy

This of course cannot use your current SMTP host but it is free up to 12000 emails a month (so you probably will never need to pay).

Other then that you can only really play with the settings and test until it works, but in our experience it could work once but not the next time, the general SMTP protocol has issues in shared environments (if that is what you are on).

Currently Joomla does not actually have anything to debug email issues, the phpmailer library it uses in JMail does have the ability, but the last time I looked at the class it was not implemented to log the data anywhere.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.