stephenmbell
IS-IT--Management
I have a page that submits a form to an email address. The CF Version is 8.0 enterprise, and the site is not hosted in site, so there is no way for me to access the smtp server settings on the CF Administrator.
That being said, here is my code: (I have tried both from attributes individually, and still have the problem)
The form submits fine, I do not recieve any errors on the form OR the action page (code above) - I simply do not recieve the email.
I have verified that I can pop into and smtp out of the account listed in the username / password attributes using thunderbird.
Please give some suggestions on where else to look / what else to try..
Thanks in advance
sb
That being said, here is my code: (I have tried both from attributes individually, and still have the problem)
Code:
<cfparam name="name" type="string" default="NOT ENTERED">
<cfparam name="phone_number" type="string" default="NOT ENTERED">
<cfparam name="email" type="string" default="NOT ENTERED">
<cfparam name="msg" type="string" default="NOT ENTERED">
<cfmail server="mail.bouncesbysunshine.com"
useSSL="no"
useTLS="no"
username="user"
password="pw"
to="myemail@gmail.com"
subject="Bounces By Sunshine - Contact Us"
from="website@bouncesbysunshine.com"
<!---
from="#email#"
--->
>
Name: #name#
Phone: #phone#
Email: #email#
Special Requests:
-------------------------
#msg#
-------------------------
</cfmail>
<html>
<head>
</head>
<body>
<form name="form" method="post" action="/index.cfm">
<script language="javascript">
alert("Your Mail Has Been Received, Thank You for visiting Bounces By Sunshine")
document.form.submit()
</script>
</form>
</body>
</html>
The form submits fine, I do not recieve any errors on the form OR the action page (code above) - I simply do not recieve the email.
I have verified that I can pop into and smtp out of the account listed in the username / password attributes using thunderbird.
Please give some suggestions on where else to look / what else to try..
Thanks in advance
sb