Hi- I had an open question:
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_21770077.htmlAnd I thought it was answered, but unfortunately not. :)
I have cfmail tag that is not mailing the form. Here is the tag, and below that is the response from my web host when I asked them to check their mail server. I am not sure what's going on, but the form is not sending an email. Thanks in advance for your help! Oh-I also tried this with a user name and password, and the host said that was not necessary.
<CFIF IsDefined("form.name")>
<CFIF form.name is not "" AND
form.email is not "">
<cfmail to = "melody@mymagickitchen.com
"
from = "melody@mymagickitchen.com
"
subject = "feedback from website"
server="smtp2.adhost.com ">
This message was sent by an
automatic mailer built with CFMAIL:
==========================
==========
==========
======
Name: #form.name#
Email: #form.email#
Comments: #form.feedback#
</cfmail>
</CFIF></CFIF>
Input from web hosts:
SMTP2 has not handled any mail for "mymagickitchen.com" so far today,
nor was any handled yesterday. That would include failed mail and
indicates that your mail is not getting off the server. I see exactly
one mail from that server from last Saturday, the last mail handled
for that domain.
==========================
==========
==========
==========
==========
=====
Mar 11 07:02:18 smtp2 sendmail[29321]: k2BF2Hv3029321:
from=<cuisinereview@mymagi
ckitchen.c
om>, size=696, class=0, nrcpts=1,
msgid=<19862059.1142089339
670.JavaMa
il.SYSTEM@
sade02066>
, proto=ESMTP,
daemon=MTA, relay=fp9.adhost.com [216.211.129.10]
Mar 11 07:02:18 smtp2 sendmail[29323]: k2BF2Hv3029321:
to=<mscott@mymagickitchen.
com>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp,
pri=30338, relay=mail.adhost.com. [216.211.128.3], dsn=2.0.0, stat=Sent (Ok:
queued as AAFD22ADA00)
==========================
==========
==========
==========
==========
======
I then checked the Cold Fusion mail queue on FP9 (where your site is
hosted) and both the queue and the undeliverable folders are empty.
I then checked the mail log and did not see any indication that mail
has been attempted from your domain. I then checked the SMTP2 logs
to make sure that mail from FP9 is working. It is, I see about 80
pieces of mail from that server today.
So, it appears that everything is working as it should on our end,
perhaps "form.name" and/or "form.email" are not getting set in your
code?