I have configured my form, a really basic one in cold fusion, but I am not receiving the response, could some one take a look and tell me if everything is straight.
<cfmail
from="[email protected]"
to="[email protected]"
subject="coments"
server="mail.readyhosting.com">
#form.name#
#form.email#
#form.comments#
</cfmail>
<cflocation url="HTTP://WWW.my domain.COM/CONFIRMATIONPAGE.HTM">I don't know anything about Cold Fusion, but for a form, I would just use this:
<form OnSubmit=window.location="CONFIRMATIONPAGE.HTM" method="post" action="mailto:[email protected]?subject=comments" enctype="text/plain">sin,
Your code looks solid, so I seems that the culprit would be the server attribute. Make sure it is a valid SMTP address.
If your site is hosted, check with your host to see if they have a default mail server set in CF Administrator. If they do, then you won't have to specify a server attribute in the CFMAIL tag and it should work. If they don't set the default, verify that you're using the correct one.
If you're trying to use a remote mail server, check with them to make sure they don't have any restrictions set like prohibiting message relaying.
<cfmail
from="[email protected]"
to="[email protected]"
subject="coments"
server="mail.readyhosting.com">
#form.name#
#form.email#
#form.comments#
</cfmail>
<cflocation url="HTTP://WWW.my domain.COM/CONFIRMATIONPAGE.HTM">I don't know anything about Cold Fusion, but for a form, I would just use this:
<form OnSubmit=window.location="CONFIRMATIONPAGE.HTM" method="post" action="mailto:[email protected]?subject=comments" enctype="text/plain">sin,
Your code looks solid, so I seems that the culprit would be the server attribute. Make sure it is a valid SMTP address.
If your site is hosted, check with your host to see if they have a default mail server set in CF Administrator. If they do, then you won't have to specify a server attribute in the CFMAIL tag and it should work. If they don't set the default, verify that you're using the correct one.
If you're trying to use a remote mail server, check with them to make sure they don't have any restrictions set like prohibiting message relaying.