The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 20 posts ] 
Author Message
PostPosted: Wed Dec 23, 2009 10:09 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 23, 2009 9:42 pm
Posts: 4
Location: New Jersey
My LAB set up:
I host my website and exchange.
Linux server running Fedora 12
Joomla 1.5.15
PHP 5.3.1
MySQL 5.1.41
Apache 2

Windows server 2003 R2 .32bit Exchange 2007

I'm new to configuring exchange 2007 and completely new to Fedora but love this stuff so trouble shooting is never an issue.

Experience with exchange 2003 so configuring the SMTP connector for EXCH 2007 wasn't that hard and all test demonstrate that it's up and working correctly. The outlook clients as well as iMail on my macbook pro are sending/receiving emails without an issue.

When I set the following Glabal Config
Mailer: SMTP SERVER
Mail from: xxx@xxx.com
From Name: anyname
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: Active Directory Name
SMTP Password: Password for AD athuntication
SMTP Host: smtp.xxxxxx.com

It returns the following error:
SMTP Error! Could not connect to SMTP host.

Does anyone have a fix.


Top
 Profile  
 
PostPosted: Fri Dec 25, 2009 8:09 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 4993
Location: Nottingham, UK
The SMTP port for sending emails is TCP port 25. Are you sure your SMTP server needs authentication if both server are in the same network?

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
PostPosted: Sat Dec 26, 2009 2:13 am 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 23, 2009 9:42 pm
Posts: 4
Location: New Jersey
Thanks for the reply toivo, i was losing hope that anyone would help. Anyway I've tried port 25 and 587 and alway the same respone:
SMTP Error! Could not connect to SMTP host.


Top
 Profile  
 
PostPosted: Sat Dec 26, 2009 9:33 am 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 18005
Location: Akershus, Norway
Try without using ssl.

SMTP Security: None
SMTP Port : 25


Top
 Profile  
 
PostPosted: Sat Dec 26, 2009 1:22 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 23, 2009 9:42 pm
Posts: 4
Location: New Jersey
Same result.

I have a .MAC account which I used. .MAC SMTP server works with Joomla's application server with out a problem, which tells me two possible things:
1st .MAC SMTP server doesn't use SSL and authenticates using User Name/Password.
2nd Exchange 2007 may need additional configuring in the HUB transport (don't know enough about it yet), so I purchased a NEW book, "Configuring exchange Server 2007" which should tell me about configuring 3rd party application servers such as Joomla. If anyone already understands EXCH2007 new HUB transporter technology then JOIN IN :)

Mystic


Top
 Profile  
 
PostPosted: Mon Jan 25, 2010 1:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 24, 2010 9:57 am
Posts: 20
I am sitting with the same issue and have tried all the settings


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 12:44 am 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 23, 2009 9:42 pm
Posts: 4
Location: New Jersey
I'm back with the same issue after eliminating the fact that it could be my exchange 2007 server. Once I was sure I had configured my server correctly, I installed a copy of Drupal who also uses a PHP file to control the registration and email function. My Drupal site works perfiectly, however I must admit that I like the control that Joomla allows which is why I'm sticking with this CMS product.

I tell you Joomla community - I'm surprised no one has answered Dirtbanger though and here I'm back with the save question. I've search a number of blogs, some dated back to 2006 and NOT ONE blog ends with a clear and concise solution.

So Joomla community - DOES ONE EXIST???????? Is there a clear answer as to WHY the PHP mail class doesn't work?

If this is an OLD RESURRECTED TOPIC as Coolbung points out on the following thread:
viewtopic.php?f=431&t=303280&p=1334730&hilit=smtp#p1334730
then were is the answer?


Top
 Profile  
 
PostPosted: Fri Feb 05, 2010 6:50 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 05, 2010 6:41 am
Posts: 1
I am also facing this type of error. Now i will try this. Hope this will overcome on errors.

_________________
online casinos


Top
 Profile  
 
PostPosted: Wed Feb 24, 2010 10:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jun 12, 2009 9:40 pm
Posts: 21
If you are trying to set up Outlook:


This has nothing to do with Joomla! It has to do with your internet carrier. Most have stopped excepting port 25 and you must now use their SMTP servers!

Check out this link: http://www.cordhosting.com/smtp_settings.php

You will find most cable companies are doing this now for Spam purposes etc. Good Luck and hope the info helps!!


Top
 Profile  
 
PostPosted: Sun Mar 28, 2010 9:51 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 05, 2008 4:34 am
Posts: 4
Always easy when you know how :)

Go ahead and logon to your Exchange 2007 server and open up the Exchange Management Shell. Create an Anonymous Relay Send connector which authorizes send mail by an IP ACL. Make sure you perform the two steps of this process: creating the connector, granting the anonymous permission for that connector, then take out any SMTP authentication from the SMTP settings in your Joomla or other scripts.

Going that route will also stamp your outgoing emails so that they don't get tagged as SPAM which happens otherwise even if you use a regular SMTP relay with user/pass authentication.

http://www.valogic.net/support/index.ph ... ticleid=80

Cheers!
Vlad


Top
 Profile  
 
PostPosted: Fri May 21, 2010 5:42 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 15, 2009 4:21 am
Posts: 7
I am currently fighting the exact same issue. I have been working on this for 2 weeks now, scouring the posts and internet, but no help.

I am using Joomla on a Windows 2008 Server, Exchange 2007.

Get same error as outlined in this post.

Without email from our Joomla site to our exchange server, our site is useless.


Top
 Profile  
 
PostPosted: Sat May 22, 2010 1:50 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 05, 2008 4:34 am
Posts: 4
Isoares, have you tried using SMTP authentication account for sending emails instead. Me i have never installed Joomla on Windows, especially 2008. Try disabling the UAC which might be blocking something too.


Top
 Profile  
 
PostPosted: Thu Jul 08, 2010 8:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 20, 2009 12:57 pm
Posts: 9
its not asd difficult as you may think, talk to your host provider and ask them to allow smtp on your server by releasing the firewall on it..

miocara.com - social networking with a difference


Top
 Profile  
 
PostPosted: Fri Nov 19, 2010 9:33 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Oct 09, 2010 9:23 am
Posts: 7
Hi!
I've the same problem
SMTP Error! Could not connect to SMTP host.
BUT
I don't change my options SMTP recommended by hosting company-it was working normally before one day.
I tried to change options to other mail host like smtp.yandex.ru. It started work! but with hosting options doesn't work.
Can anybody say it is hoster problem or joomla (1.5.20) ? ???
Can it be caused by sent mail queue?

_________________
http://scottishfold.mk.ua/-Scottishfold Cats Ukraine


Top
 Profile  
 
PostPosted: Fri Apr 15, 2011 8:38 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Mar 28, 2009 10:58 am
Posts: 8
Hi,
I had the exact same problem but now I have solved it. I'd like to share my solution. I have Joomla version 1.5.22

My Global Config was as follows;

Mailer: SMTP SERVER
Mail from: username@domain.tld
From Name: *Name*
Sendmail Path: usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: *username*
SMTP Password: *password*
SMTP Host: *hostname*

This retured following error
SMTP Error! Could not connect to SMTP host.

After working on this problem I found out that the problem was related with my sendmail path. Because I had Acymailing newsletter extension, and I was able to send and receive messages through that with no problem.

So, in the Joomla configuration panel I tried to change the Sendmail path to

Sendmail Path: components/com_acymailing/inc/phpmailer/class.smtp.php

And it worked like a charm! 8)


Top
 Profile  
 
PostPosted: Mon May 21, 2012 10:00 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 21, 2012 9:57 am
Posts: 2
i successfully sent mail using jNews <-- i faced error with it but i can mass send
using the following configuration. =)


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Thu May 01, 2014 6:03 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu May 01, 2014 5:56 pm
Posts: 1
Hello
could somebody help me? I am very new in joomla.
I have problem at contact page:I have this message
SMTP Error! Could not connect to SMTP host.
Mailer - SMTP SERVER
Mail from - aaa@gmail.com
From Name - company name
Sendmail Path -usr/sbin/sendmail
SMTP Authentication No Yes - Yes
SMTP Security - SSL
SMTP Port - 465
SMTP Username - usernam
SMTP Password - password
SMTP Host - smtp.gmail.com


Top
 Profile  
 
PostPosted: Thu May 01, 2014 7:00 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 4993
Location: Nottingham, UK
First, if you still run Joomla 1.5, you should consider migrating urgently to a safer, supported version like 2.5 or 3.x.

Here is a tutorial which will hopefully solve the connection issue, if the problem is at Gmail's end:
http://docs.joomla.org/How_do_I_use_Gma ... _server%3F

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
PostPosted: Tue May 20, 2014 7:30 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 27, 2011 1:59 pm
Posts: 22
Location: Thailand
I suggest u can use some free or paid smtp Mail service like Mailgun, they have their own independent smtp server & it'll help u to avoid many mail problems on joomla 1.5 2.5 3.x, I like it very much personally.

_________________
http://www.tgcondo.com
http://www.tgu2.com


Top
 Profile  
 
PostPosted: Wed Sep 17, 2014 10:23 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 16, 2014 3:57 am
Posts: 5
Solution for users hosting there e-mail and website on the same server (hosting company). Which is the case for most Joomla sites i guess.

Use the following settings:

Send mail: yes
Mailer: SMTP
From e-mail: email@yourdomain.com
From name: Sender name
SMTP authentication: yes
SMTP security: none (you can set this to yes if you have ssl)
SMTP port: 587 (465 if you use ssl)
SMTP username: email@yourdomain.com
SMTP password: [password] (same pass you use to login to your inbox)
SMTP host: localhost (this is because you host the mail server and website on the same server, most people try smtp.yourdomain.com. This will result in an error)

Strange nobody came up with this answer.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group