Not at all, I think debugging is only a good thing but you have to see that
CFMAL does exactly what it should do at present - and it DOES tell you if an
email fails (both in logs and in the mail message itself moved to the
undeliv folder), but maybe not just in shared environment?

I could see that in a shared environment that you may be able to tell if an
email has failed though on an owned environment you can simply look into the
maillogs / undeliverable folder to see why an email failed.  I am not
familiar with how shared environments work so maybe there is a way it can be
done? Snake etc are v.familiar with this so maybe he can input. Surely Adobe
know this and have workarounds?
 
Maybe you can look into using the JavaMail API to see why an email failed -
have a look to see what it available to you (assuming you have createObject
capability in that hosting)






"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Mike Kear
To: CF-Talk
Sent: Sat Jul 29 13:42:08 2006
Subject: Re: CF 8 feature survey

So my point remains ....  I dont care which part of the system tells
me what's wrong as long as SOMETHING does.

At the moment, the only indication you have that there's something
wrong with your mail is the fact that it hasnt arrived.   Or is is
that your email has actually worked ok but just not arrived yet?

One thing that could happens is Peter TIlbrook's idea - have the
Undelivr folder (or it's equivaient) configurable in the code, perhaps
in the CFMAIL tag - maybe a underliverto="" attribute.   Then at least
there would be one thing you could look at to see why the email didnt
work.   It doesnt cover all cases by any means but it does cover some,
and thats a step in the right direction.

I didnt mention your silly <cfmail></cfmail> example, because these
days with tag completion and code hinting I have very few of that kind
of syntax error.   I'd never try to put that in a page because my IDE
wouldnt let me without warning.

Neil, you dont seem to think there is a need fo have any debugging of
CFMAIL.   I'm not sure why.  Perhaps you never make errors.  Perhaps
you never use CFMAIL in a shared hosting environment where you have no
access to any system level folders.  Perhaps you love spending 5 times
longer  building a simple cfmail app than any other part of your
system.  I dont know . but i think there are lots of people who find
CFMAIL a devil of a functionality to build unless it's very
stock-standard and basic.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month





On 7/29/06, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Hmmm so, <CFMAIL></CFMAIL> doesn't fail? (no To etc).  I can understand it
> not erroring if you have a bad username/passord or server name/IP as
> ColdFusion is not technically in the loop at that part of the process.
>
> ColdFusion literally just writes the email out (assuming you have correct
> tag syntax) and it is the SMTP server which will say yay or nay to
JavaMail
> inside ColdFusion. It is not in control and should never be in control of
> this process.
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248128
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to