Hello everyone,
I'm trying to send emails using the CFMAIL tag. I know how it is done and have tried every possible way to figure out why it isn't working. Coldfusion 9 64-bit is running on a CentOS 5.4 x64 box with Apache 64-bit installed. It is neither sending email through smtp.gmail.com (Google App account) nor with localhost (sendmail server.) I've tried following way so far: 1. Tried to verify my mail server connections (both to Gmail and sendmail) using the Coldfusion administrator, however, always get following error: Connection Verification Failed! 2. Enabled mail log and have set the log level to Debug. Still don't see any error in the mail.log file. It does keep updating with spool related information but no error or details about connection to the mail server. 3. I know correct port and SSL settings required to connect to the Gmail smtp server. 4. Coldfusion is running as user cfusion in developer mode. 5. This is a new installation on a fresh CentOS box at a client's site and I've tried reinstalling Coldfusion a couple of times already. 6. Coldfusion is connected properly with Apache version 2.2_15. 7. I tried sending email using sendmail using the command-line and it went through. 8. I also tried to send email using a PHP script and it works, however, I can't rely on it as it deliver email very slow and I need to fix my installation. 9. If I enter localhost in SMTP field, uncheck SSL and check Verify connection and hit the Submit button in the CF Administrator, it gives Connection Verification Failed! Error instantly. However, with Gmail, when the SSL and Verify connection is checked, and port is set to 465 it take a while (about 20-40 seconds) to give the message Connection Verification Failed! I'm passing correct login credentials each time. As I mentioned in the point above it does work from command-line and PHP work with same mail server settings and login credentials and same CentOS box/Apache installation. 10. IP, host name, trusted users, network config and Firewall all seems to be setup quite properly. Does anyone have any idea what could be wrong here? Where should I look in my server to get more details? Again, neither sendmail nor Gmail works. I've looked in server.log and mail.log. Not sure what's happening. Best, Sagar Gupta ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335090 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

