What kind of behavior or error messages are you seeing?

-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 9:12 AM
To: CF-Talk
Subject: CFMAIL drives me NUTS!




I have endless trouble with CFMail in a hosted environment - because I can't
get access to the undelivered mail and if the templates don't work all I get
is   - well nothing.

Can anyone tell me what's wrong with this code?  It's from a "tell a friend
about this site" form, which is supposed to pass 4 variables to the action
page (names and emails for each of sender and receiver).  Part of the action
page is two emails - one to the site visitor and one to their friend.

I don't think the problem is the tag itself, because the syntax of the
<CFMAIL is the same as a working template which DOES send its email.  I
don't think it's the time line, because that works fine elsewhere on the
site too.

[first email]
<cfmail to="#form.senderemail#" from="[EMAIL PROTECTED]"
subject="Told your friend about this site" server="xxx.xxx.xxx.xxx">
                Apparently while visiting Bluegrass Australia
(http://bluegrass.org.au)
you used our form to invite a friend to visit us also.

                Your friend's name and address is:
                 #form.receivername#  at #form.receiveremail#

                We very much appreciate your support.
                ---------------------------------------

                This confirmation message was sent from:
                http://bluegrass.org.au. Thank you.
                Local Time: #dateformat(austime, "d / mmmm / yyyy")# at
#timeformat(austime, "h:mm tt")#
        </cfmail>
[end first email]



[second email]
<!--- Send email to the friend   --->
<cfmail to="#form.receiveremail#" from="[EMAIL PROTECTED]"
subject="Check out this site I found" server="xxx.xxx.xxx.xxx">

                G'day #form.receivername# ... a message from
#form.sendername#
        
--------------------------------------------------------------------
                Right now I am visiting the site Bluegrass Australia - about
bluegrass and
acoustic music around Australia.  It has some great stuff that will probably
interest you too.  What's on around Australia,  details of new releases and
where you can get them, news about the bluegrass world.

                So I suggest you use the URL below and have a look for
yourself. Email me
at #form.senderemail# and let me know what you think.

                The site URL is: http://bluegrass.org.au


                This e-mail was sent by #form.sendername#
                IP address:  #Remote_addr#
                Thank you.
                Local Time: #dateformat(austime, "d / mmmm / yyyy")# at
#timeformat(austime, "h:mm tt")#
</cfmail>
[end second email]


Could it be the fact that there are two emails on the one template? Is that
allowed?

Cheers,
Mike Kear
Windsor, NSW, Australia
AFP WebWorks






Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to