Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF: Connection Verification Failed!

Status
Not open for further replies.

youngal

Programmer
Jun 17, 2005
4
US
Hi All,

Just trying to set up the mail settings for Cold Fusion ... keep getting the above message when I check "Verify Mail Server Connections".

When I use the same setting in Outlook Express it connects fine.

Anyone have any suggestions? I have tried just entering just the IP address, then the username:password@IPAddress, then username:password@domain ... the port is correctly set at 25.

I have tried searching in forums and on the web but could not find any solutions.

Grrrrr!! I am using Cold Fusion MX 7 on a Win 2003 server, and trying to communicate to a mail server on a separate box running Groupwise 6.5.

Any & all help gratefully received. Thank you in anticipation.

Alistair Young
 
Post your cfmail code so I can look at it. Also do you have your mail system setup in cfadmin or are you doing server settings in line.
 
Hi MochaLatte,

Thanks for responding. It's in the Administrator that I am having problems. When I click "Submit Changes" it comes back and tells me that it cannot verify my connections.

Needless to say when I do try a basic CFMAIL it goes nowhere.

Here's the basic test code I use ...

<cfmail from="Intranet@mydomain.com" to="user@mydomain.com" username="Intranet@mydomain.com" password="notbrat1" subject="test">
THIS IS A TEST!!!
</cfmail>

But I think the problem must be to do with Cold Fusion and maybe the firewall or something as I have the same settings on another server and they work fine.

Thanks.

 
ensure that your email server allows redirects. This could be the issue.
 
ahhhh another thing I noticed when looking at your inline code. You have to also add hte smtp server. So it should look like this. Depending on your situation, Inline might be a better choice, as you can make it fully dynamic. But I am not sure if this is an issue you have.

<cfmail
from="from@mydomain.com"
to="to@mydomain.com"
server="pop.server.com"
username="username@mydomain.com"
password="password"
subject="test">
BLAH BLAH BLAH
</cfmail>



 
Thanks for the responses. The problem turned out to be McAfee Anti-Virus blocking port 25 on the web server. Makes sense and I should have thought about it before ... McAfee is almost a firewall itself these days.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top