Triple check user/pass/mailserver ip Also does your mail server run on port 25 or a different port?
Is it using TLS or SSL? Do you not have a mail server set up in cfadmin so u done need the user/pass/mail server attributes in the <cfmail /> tag?. Paul -----Original Message----- From: John Barrett [mailto:[email protected]] Sent: Sunday, 18 January 2009 11:37 PM To: cf-newbie Subject: cfmail questions Hi, I have a page that uses cfmail, but it is not being delivered. I check the mail logs on my localhost,and I get: "Error","scheduler-2","01/18/09","17:20:46",,"Authentication Failed" However, I have no files in the Applications/ColdFusion8/Mail/ as I checked the Spool folder and the Undelivr and nothing is in there. This running on a remote host, as I was just checking on my localhost to see the logs. Is there anything that anybody knows the mail might not be going out? I did have a cfschedule to run this page, but I don't think the two have anything to do with if the mail will be delivered? I mean the cfschedule just runs this page,... I added the server information(it is blocked here, but is correct on the server), but the "from" is using another mail server. I am not sure if this matters. Thanks so much for any help that you can provide to me:) John <!--- send_tips.cfm---> <cfset tipdate = #CreateODBCDate(now())#> <cfset time = Now()> <cfset time = dateadd("h",-6,time) /> <!--- Get tips from the tips table---> <cfquery name="rs_dailytip" datasource="#REQUEST.dataSource#"> SELECT record_id, tipdate, dailytip, consumer_link, research_link FROM dailytips WHERE tipdate = #tipdate# </cfquery> <!--- Get users & their email from the users table---> <cfquery name="GetMembers" datasource="#REQUEST.dataSource#"> SELECT * FROM email_alerts </cfquery> <cfloop query="GetMembers"> <cfmail To="#GetMembers.email_address#" From="[email protected]" Subject="Got Nutrients? Daily Tip" type="HTML" server="mail.my server" username="myuser name" password="my password"> <!--- <cfoutput>---> <html> <head> <link rel="stylesheet" type="text/css" href="email.css" /> <style type"text/css"> body { background: ##fff; color: ##333; font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; min-width: 960px; } a:link { border-bottom: 1px solid ##696; color: ##06c; text-decoration: none; } a:visited { border-bottom: 1px solid ##900; color: ##888; text-decoration: none; } a:hover { border-bottom: 1px solid ##06c; color: ##696; text-decoration: none; } </style> </head> <body> <p><a href="http://www.gotnutrients.net/"><img src="http://www.gotnutrients.net/assets/images/web_logo.jpg" border="0"></a></p> <em>#DateFormat(tipdate, "mmmm d, yyyy")#</em><br /> #rs_dailytip.dailytip#<br /> </span> <p class="email"> TO LEARN MORE ON THIS TOPIC<br> <a href="http://www.manoa.hawaii.edu/gotnutrients"> www.manoa.hawaii.edu/gotnutrients</a> <p class="style1"> Honolulu Subarea Health Planning Council<br> Human Nutrition, Food & Animal Sciences<br> C / T / A / H / R · University of Hawai`i at M&##257;noa <p><a href="http://www.manoa.hawaii.edu/gotnutrients/">Visit Got Nutrients?</a> &n bsp; <a href="http://www.gotnutrients.net/email_alerts/unsubscribe.cfm">To unsubscribe click here</a></p> <a href= "http://www.gotnutrients.net/email_alerts/unsubscribe.cfm"></a> </body> </html> </cfmail> </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4293 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
