QUOTE(parenteau @ 15 Feb, 2008 - 06:40 AM)

Did I post this wrong or can nobody see the problem here... I can't figure out what I am doing wrong.
As far as I can see there is nothing the code per se. Assuming the email addresses are valid. There are a number of things that can effect whether or not mail works. The most common is firewall software blocking mail.
I do not know if you are running CF locally or using a shared host. If you are running it locally
1) First check the "undelivered folder" to see if your messages are there. By default, undeliverable mail is sent to the mail\Undelivr folder. Example
c:\ColdFusion8\mail\Undelivr
2) If the messages are there, check the error logs. You can view them by logging into the CF administrator or view them directly. By default logs are located in the \logs directory. Example c:\ColdFusion8\logs. Check the application.log and exception.log for mail related error messages.
You might see an error message like this, or at least one that will help indicate the cause.
CODE
"Error","scheduler-1","02/15/08","18:19:09",,"Unknown SMTP host: mail.mywebsite.com; nested exception is: java.net.UnknownHostException: mail.mywebsite.com"
javax.mail.MessagingException: Unknown SMTP host: mail.mywebsite.com;
nested exception is:
java.net.UnknownHostException: mail.mywebsite.com
3) Which version of CF are you using? The "server" attribute is an Enterprise Edition only feature. Though it should work in the Developer version too. If you are running "Standard" that might explain why it does not work
4) I would try a simple test (ie without all the html form code) just to make it easier to isolate the problem.
CODE
<cfset ContactEmail = "testContactEmail@somecompany.com">
<cfset ContactMessage = "Testing message">
<cfset ContactName = "Some One">
<CFMAIL to="email@mywebsite.com" from="#ContactEmail#"
Subject="mail from mywebsite.com"
server="mail.mywebsite.com" port="25"
username="emai@mywebsite.com"
password="emailpassword" >
#ContactMessage#
Message By: #ContactName# - #ContactEmail#
========================================
</CFMAIL>