Thanks. I found another way around it. Just dealing with something that
was already put together strangely, where some embedded functional code into
a CMS WYSIWYG editor.
Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.118
Direct Line: 516-302-4345
We needed to do something similar and we actually wrote the content to a file
and included that.
It worked perfectly.
~|
Order the Adobe Coldfusion Anthology now!
No, CF wonât evaluate the output of a database query - nor should it. Â That
would pose all sorts of security and stability concerns. Â A better solution is
to incorporate the dynamic content you want in to your CMS as a module. Â Most
CMS systems have a method for including custom modular
when you need to put dynamic content then you should never allow CODE,
instead use macros
e.g.
[include:filename]
you then parse the content before displaying to process the macros.
read this article for more info:
http://www.michaels.me.uk/post.cfm/content-management-processing-dynamic-content
I have a situation where I need to embed a CFINCLUDE in a CMS data field
which is output. How do I get the include to render? Can I even do that?
Example is like cfoutput#mydata#/cfoutput . the include is in the mydata
output. Can I evaluate or something?
Thanks
Robert Harrison
In an update query, to a tinyint field which allows nulls, I have the update
dbfield=#mydatefield#
If mydatefield has no value, sql is throwing an error. The field allows
nulls. I've never had to say if then NULL before. What the heck?
Robert Harrison
Full Stack Developer
AIMG
dbfield = cfqueryparam cfsqltype=cf_sql_tinyint value=#mydatefield#
null=#yesnoformat(mydatefield is '')#
On Fri, Apr 17, 2015 at 3:58 PM, Robert Harrison rharri...@aimg.com wrote:
In an update query, to a tinyint field which allows nulls, I have the
update
dbfield=#mydatefield#
If
Dbfield=cfqueryparam value=#mydatefield# cfsqltype=CF_SQL_TINYINT
null=#not len(mydatefield)# /
Steve
-Original Message-
From: Robert Harrison [mailto:rharri...@aimg.com]
Sent: Friday, April 17, 2015 3:58 PM
To: cf-talk
Subject: SQL Server and Nulls
In an update query, to a tinyint
This Ray Camden blog post may help:
http://www.raymondcamden.com/2014/05/22/Important-note-about-ColdFusion-11-and-CFHTTP
--
Larry C. Lyons
Applications Architect
US Department of the Interior
Office of the Secretary
Office of the Chief Information Officer
--
Hi all,
I'm working with
I've optimized things as much as I could by building a number of
collections and limiting each to a specific doc type.
Next question!!
I'm trying to return a few sentences from each doc with the search term
highlighted. So, I use ContextPassages like below.
cfsearch name=searchResults
john. my ops team says to be sure you have upgraded your connectors after
patching your cf 10 server to the latest patch level.
Sent from my iPhone
On Apr 11, 2015, at 2:09 PM, John M Bliss bliss.j...@gmail.com wrote:
Hello. Yesterday, I installed Microsoft Updates for Windows Server
Thanks. Restarting the CF service fixed the issue(!)
Scary/weird.
On Sat, Apr 11, 2015, 5:44 PM M.A. Kruger mkru...@cfwebtools.com wrote:
john. my ops team says to be sure you have upgraded your connectors after
patching your cf 10 server to the latest patch level.
Sent from my iPhone
Hello. Yesterday, I installed Microsoft Updates for Windows Server 2012 and
today, from Internet Explorer on server, I can no longer surf to:
http://127.0.0.1/CFIDE/administrator/
It just spins and spins. Any ideas?
--
John Bliss - http://www.linkedin.com/in/jbliss
Ok thanks Dave I'll look into that idea.
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: 08 April 2015 22:47
To: cf-talk
Subject: Re: I/O Exception: Name in certificate does not match host name
3) The dev API is (real domain names replaced with domain1 and
This is not a CF solution but it may at least help with what it has to trawl
through - in any case this will help anything else that has to call or
access the document.
This is for PDF files but you might consider converting Office files to PDF
at your discretion of course - a properly
3) The dev API is (real domain names replaced with domain1 and domain2)
prerelease-api.domain2.com initially this gave the error:
I/O Exception: Name in certificate `*.domain1.net' does not match host name
`prelease-api.domain2.com'
I tried adding to the hosts:
xx.xxx.xxx.xxx
Not in front of a computer right now, but there is an option in the
CFcollection tag to list or get a collection details (something like that).
Pretty sure that gives you the record or document count and maybe even size
.
I think that is accessible while indexing is happening. You could possibly
The collection was created successfully as far as I can tell. However,
indexing has been running (or at least the wheel on my browser is still
turning) for almost 3 hours now. I'm going to forget about it and go mow
my grass and see what's happening when I finish.
I'm thinking though ...
I'm going to forget about it and go mow my grass and see what's
happening when I finish.
Well crap, somebody stole my lawnmower. This is why we can't have nice
things
~|
Order the Adobe Coldfusion Anthology now!
you also have to take your disk iops into consideration. If you are on a
VPS then this will give you much slower disk performance, especially if its
not SSD, and actions like this can take a lot longer.
On Wed, Apr 8, 2015 at 11:32 PM, Les Mizzell lesm...@bellsouth.net wrote:
I'm going to
That doesn't actually sound unreasonable, but it might be useful to
come up with a document count more specific than very large.
Approx 3000 documents - around 3 gb of data
... it's still running from what I can tell.
~|
I'm working on building a search interface for a document depo on a
site. The document folder has files going all the way back to 2005, and
includes a number of 10+ meg pdf files, a few that are over 20 megs,
countless Word and Excel files, Power Point presentations
I don't have access
Hi Guys,
Some time ago I posted a question about an error we were getting with MX7.1
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353955
I have a similar problem but I believe the client is using a widlcard
certificate so I get the error:
I/O Exception: Name in
I think you'll need to update the hosts file so that:
prerelease-api.anotherdomain.com
...points to the right IP and then refer to:
prerelease-api.anotherdomain.com
...in your code. That should make everything line up.
I think this is nearly right, except that you'll need to find the IP
Think what you might need is to add the SSL certificate to the java cacerts
file as a trusted certificate. Then any sub-name for the domain will work.
https://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.html
This is a nice plugin for the CF Administrator to
I think you'll need to update the hosts file so that:
prerelease-api.anotherdomain.com
...points to the right IP and then refer to:
prerelease-api.anotherdomain.com
...in your code. That should make everything line up.
On Wed, Apr 8, 2015 at 5:23 AM, Ian Chapman ian.chap...@melodimedia.co.uk
What Dave said.
On Wed, Apr 8, 2015 at 10:01 AM, Dave Watts dwa...@figleaf.com wrote:
I think you'll need to update the hosts file so that:
prerelease-api.anotherdomain.com
...points to the right IP and then refer to:
prerelease-api.anotherdomain.com
...in your code. That
I've tried it that way but no dice, let show you what I have tried:
1) Exported the cert and imported into the Truststore (this should not have
been needed as it is a Thawte issued certificate which is already in the
trsutstore and lack of record in the truststore causes a different IO
error).
Working on configuring ACF10 mail on Windows Server 2012. I followed these
steps:
http://blog.hyperfive.com/2013/07/how-to-setup-internal-smtp-service-for.html
...but, in ACF10 admin interface Server Settings Mail when I set Mail
Server to localhost, check Verify mail server connection, and
In the SMTP Server properties, I changed the IP from one of the IP's on the
box to all unassigned and it worked.
Next question: resulting plaintext emails appear to have carriage returns /
line feeds stripped out. Any idea how to get those back?
On Tue, Apr 7, 2015 at 7:52 AM, John M Bliss
are you sure you do not have the emails set to send as HTML ?
On Tue, Apr 7, 2015 at 1:19 PM, John M Bliss bliss.j...@gmail.com wrote:
In the SMTP Server properties, I changed the IP from one of the IP's on the
box to all unassigned and it worked.
Next question: resulting plaintext emails
Careful with that, make sure you aren't opening up an open mail relay if
you have public IP space on the server.
You can do a check with some online tools like this.
http://mxtoolbox.com/supertoolmobile.aspx
On Apr 7, 2015 8:20 AM, John M Bliss bliss.j...@gmail.com wrote:
In the SMTP Server
Careful with that, make sure you aren't opening up an open mail relay if
you have public IP space on the server.
You can do a check with some online tools like this.
http://mxtoolbox.com/supertoolmobile.aspx
On Apr 7, 2015 8:20 AM, John M Bliss bliss.j...@gmail.com wrote:
In the SMTP Server
Once you convert it into a CF structure using deserializeJSON, you can then
use cfdump to see how CF interprets it.
On Tue, Apr 7, 2015 at 12:31 PM Robert Harrison rharri...@aimg.com wrote:
Let me make this simpler. The value being send via an ajax post is:
Object {name: rid, value: 1}
With JQuery:
var post_data = $('#myform').serializeArray();
$.post('/mycfpage',post_data,function(data){
//do stuff with JSON data here
var name = data.name;
var value = data.value;
//then manipulate the DOM from there
},'json');
On April 7, 2015 at 11:55:47 AM,
Let me make this simpler. The value being send via an ajax post is:
Object {name: rid, value: 1}
If I just want to dump that value/object how to I do it? I have no idea
what name CF see that as.
Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.118
Looks like a basic JSON value. Just parse it and you should have it put
into a variable.
or am I not understanding the question? I have yet to have my morning
coffee.
On Tue, Apr 7, 2015 at 8:55 AM, Robert Harrison rharri...@aimg.com wrote:
I'm sending an Ajax post to a CF page. The post
Solved. The problem was I was overcomplicating this and treating it like
JSON just like everyone else has been advising.
With an AJAX post, the string: Object {name: rid, value: 1}
Appears to Coldfusion as form values. The values #form.name# and
#form.value# give me rid and 1.
Too
You can very easily convert it to a structure using the deserializeJSON
function in CF. Here is a link with some examples of working with JSON in
ColdFusion. http://www.learncfinaweek.com/week1/JSON/
On Tue, Apr 7, 2015 at 11:55 AM Robert Harrison rharri...@aimg.com wrote:
I'm sending an Ajax
I'm sending an Ajax post to a CF page. The post data looks like (below) in
the counsel:
Object {name: rid, value: 1}
How in the heck to I get that value on the ColdFusion page?
Robert Harrison
Full Stack Developer
AIMG
mailto:rharri...@aimg.com rharri...@aimg.com
Main Office:
Yes. The code didn't change. Just moved from 32 bit Windows Server 2003
to 64 bit Windows Server 2012 and 32 bit ACF10 to 64 bit ACF10.
On Tue, Apr 7, 2015 at 10:49 AM, Russ Michaels r...@michaels.me.uk wrote:
are you sure you do not have the emails set to send as HTML ?
On Tue, Apr 7,
Have you looked at the raw source of the email to make sure that CF is not
placing the text in an html mailpart?
On Tue, Apr 7, 2015 at 1:21 PM John M Bliss bliss.j...@gmail.com wrote:
Yes. The code didn't change. Just moved from 32 bit Windows Server 2003
to 64 bit Windows Server 2012 and
No. Interestingly, it appears that some carriage returns / line feeds
remain. The ones that got stripped out are ones inside of:
cfmail
cfloop#loop.output#
/cfloop
/cfmail
...where that carriage return / line feed between #loop.output# and /cfloop
is not coming through and all elements of the
Mark, going back to your original problem. I am not sure if you have IPv4
IPv6 installed, but I just double checked that the local loop backs
addresse for IpV4 V6 are in my IP debugging list. Can you try adding them
both in and restarting ColdFusion and lets us know how you go.
Regards,
Andrew
You're right Dave you may need to re-read the threads again, because I am
well aware of the error status pages. I was mainly talking to Charles about
Friendly Error messages when you dropped by, if you are confused by that,
this is not my problem.
Regards,
Andrew Scott
WebSite:
by default IIS will display a 500 server error if it gets back a CF error
page as it doesn't know what to do with it as it doesn't send a valid error
code that matches any IIS errors.
In order to see the REAL cf error you have to turn on detailed error
messages in IIS, or you have to create a
You're right Dave you may need to re-read the threads again, because I am
well aware of the error status pages. I was mainly talking to Charles about
Friendly Error messages when you dropped by, if you are confused by that,
this is not my problem.
You wrote an email. I responded to that
Whatever Dave, like I said this option is for ASP only.
Here is a support article that a quick Google search dug up, if you can
provide where in IIS you make this change I will eat my words.
https://support.microsoft.com/en-us/kb/294807?wa=wsignin1.0
I'm not sure what posting a page about
My own personal, and albeit completely anecdotal, experience bears out what
Russ has written. By default you get the crappy 500 error, which the first
time I encountered it kept me running in circles for a while because I
didn't think it was coming from CF.
Hopefully the OP is at least being
the only person arguing here is you, you seem very insistent on getting the
last word and one-upping everyone today.
All I have done is assert a fact I know to be true.
On Mon, Apr 6, 2015 at 8:52 PM, Andrew Scott andr...@andyscott.id.au
wrote:
Russ,
*sigh* I think you're arguing with the
clealry I do know better than you, I suggest you take off your arrogamce
hat for a while and actually try it with a clean install of IIS and you
will find out that I am correct and that CF errors are not displayed by
default, just a 500 server error.
On Mon, Apr 6, 2015 at 8:35 PM, Andrew
sorry but you are wrong, as a hosting provider I deal with this all the
time on many many servers.
what I said below is correct.
On Mon, Apr 6, 2015 at 8:23 PM, Andrew Scott andr...@andyscott.id.au
wrote:
Russ,
By default IIS is set to either send Detailed if local or Custom if remote,
if
Russ,
By default IIS is set to either send Detailed if local or Custom if remote,
if one is changing this setting on a remote server it is likely to be a
production server and should not be be touched. At least this is the way I
read that, but again you don't need to touch any IIS setting when
Russ,
*sigh* I think you're arguing with the wrong guy. Yes, that is what
happens. Under a default install of IIS, the setting for the error pages is
as described in the picture in the last link I sent. There is no denying
that is the default setting, then on top of that I clearly stated that
ârotflmao, as a hosting provider you should know better.â
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Tue, Apr 7, 2015 at 5:34 AM, Russ Michaels r...@michaels.me.uk wrote:
sorry but you are wrong, as a hosting
Not to mention the display friendly error messages in IIS, is for ASP!!
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Mon, Apr 6, 2015 at 12:24 PM, Russ Michaels r...@michaels.me.uk wrote:
yes that is true, however debug
Andrew,
IIS will capture CF errors and display friendly error messages if it is set to.
The debugging output, however, should display regardless of this setting as,
as you stated, it is not an error. I would look at the source to see if the
output is being generated and simply being hidden
David,
I am very well aware after nearly 20 years of CF Development how it works,
IIS doesn't capture CF errors at all. It only displays what is sent to it,
in ColdFusion's case if it is not sending the status codes it usually ends
up with a blank page. You can make any adjustments to IIS you
I am very well aware after nearly 20 years of CF Development how it works,
IIS doesn't capture CF errors at all. It only displays what is sent to it,
in ColdFusion's case if it is not sending the status codes it usually ends
up with a blank page. You can make any adjustments to IIS you like
I guess my installs of IIS work, cause the only time I have to make any
changes is in CF where it says send HTTP status codes, nothing more and
nothing less.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Tue, Apr 7, 2015 at
Hi
We have one CF web server running CF11 and noticed that the CFTOKEN and CFID
cookies on that server have a long (51 char) string of random looking
characters before the actual CFID or CFOTKEN numeric value.
Ex: CFTOKEN = Z3epk1hxi861r0je68dw9xjrpf2oqa1vm0ygobljizhhw2d5gjh-22151980
Within
But Dave.
This in IIS
friendly error messages
Has nothing to do with ColdFusion output, nothing at all.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Tue, Apr 7, 2015 at 2:23 AM, Dave Watts dwa...@figleaf.com wrote:
I guess my installs of IIS work, cause the only time I have to make any
changes is in CF where it says send HTTP status codes, nothing more and
nothing less.
That's good for you! But there are many installs of IIS out there
besides your own, and those installs might be configured differently
I believe the issue here, is that when you have the status code option set in
ColdFusion, ColdFusion uses an H TTP status of 200, even for error pages.
If you don't have that option, ColdFusion sends out status codes of 500 or
whatever with there's an eeror. IIS does intercept those.
Forget
Charles it is neither here nor there. ColdFusion Robust Exceptions need
this setting to be enabled in ColdFusion, the display friendly error
messages is a browser option and is not something one has to touch anyway.
The other option in IIS is the setting of Custom ASP errors, there is no
other
This in IIS
friendly error messages
Has nothing to do with ColdFusion output, nothing at all.
No, but that's not what I responded to. Here's what I responded to,
specifically:
I am very well aware after nearly 20 years of CF Development how it
works, IIS doesn't capture CF errors at all.
Whatever Dave, like I said this option is for ASP only.
Here is a support article that a quick Google search dug up, if you can
provide where in IIS you make this change I will eat my words.
https://support.microsoft.com/en-us/kb/294807?wa=wsignin1.0
Regards,
Andrew Scott
WebSite:
With all due respect, thats simply not true. IIS, depending on your settings,
will replace coldfusion errors with a blank 500 error page. A simple google
search turn up dozens and dozens of times that question was asked and resolved
by changing IIS settings. Thats how I fixed my dev
That is correct and why there is a setting in ColdFusion to pass on the
correct HTTP status code to IIS.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Mon, Apr 6, 2015 at 10:31 AM, Charles Sheehan-Miles
yes that is true, however debug output is not an error, it is the debugging
information that added to the bottom of a page.
On Mon, Apr 6, 2015 at 1:31 AM, Charles Sheehan-Miles
char...@sheehanmiles.net wrote:
With all due respect, thatâs simply not true. IIS, depending on your
IIS friendly error messages has absolutely nothing to do with Robust
debugging.
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Mon, Apr 6, 2015 at 4:52 AM, Charles Sheehan-Miles
char...@sheehanmiles.net wrote:
I had
Do you have any ip restrictions set for the debug output?
On Sun, Apr 5, 2015 at 3:49 AM, Mark Spence markpence...@gmail.com wrote:
For some reason, suddenly debug output has stopped working on my
development machine. I'm not sure why. I have tried turning it off and
on, restarting the
I have added 127.0.0.1 as a ip to serve debug output to, and I have also
removed all ips to have debug info served to all ips. Neither results in
output.
On Sun, Apr 5, 2015 at 4:59 AM, Russ Michaels r...@michaels.me.uk wrote:
Do you have any ip restrictions set for the debug output?
On
I had this recently... The problem wasn't Coldfusion at all, it was IIS. Even
locally I couldn't get debugging. Check website settings and make sure
friendly error messages or whatever it turned off (sorry I'm not at a
computer so can't remember the exact terminology)
Sent from my iPhone
On
The most common cause is that you have a CFSETTING in your code somewhere
that is preventing the debug output.
Have you tried simply creating a simple test page outside of your
application to check if the debug output works ?
On Sun, Apr 5, 2015 at 7:29 PM, Mark Spence markpence...@gmail.com
Hi guys,
I havehave
Sent from Samsung tablet
Mike K afpwebwo...@gmail.com wrote:
You probably know already, but I'll say it just in case ... you can rarely
have a 100% clean list. I have found that even after you just clean up
a list, your next mailing will have rejects in it. Even if
For some reason, suddenly debug output has stopped working on my
development machine. I'm not sure why. I have tried turning it off and
on, restarting the server, restarting the box. Nothing has helped. Google
has failed me. Running on windows 8.1 and IIS.
Thanks so much to all and to Mike and William, I will be putting your advice
on the top of my list of things to do. The list in question has
approximately 5,500 names but, by the time it is cleaned up, will probably
be closer to 5,000.
The idea of not disturbing subscribers unnecessarily is
Dave,
you can validate your email addresses automatically simply by using the
Likes of Mailchip, which will validate allthe email addresses when you
submit them and remove the bogus ones, it will also automatically remove
bounce addresses for you as well.
On Fri, Apr 3, 2015 at 1:19 PM, Dave
The CFTRY and CFCATCH method described earlier is a great method for a
partial scrub. That method will scrub those email addresses which are
malformed or have invalid syntax. That's a great start, but there are two
additional things you should do as well:
1. Use the FAILTO feature of
I never use anything but Mail Chimp for bulk mail sends
Honestly, I too highly recommend a service like Mail Chimp or Constant
Contact, or Emma. They clearly have their place and the headache of getting
blacklisted is miserable, but sometimes you have a situation where the
options and
You can also utilize a tool like BoogieBounce by Boogie Tools (
http://www.boogietools.com/). I've used this in the past and it works
great. It allows you to determine the cause of a rejected email (hard
bounce, soft bounce, server unreachable, etc.) and then programmatically
deal with it as
I agree that using a third part service is highly desirable, but depending
on the integration and the client it may not be feasible. I clearly have
clients that would never allow their mail list or the mail content to be
placed on any third-party server for compliance and/or security reasons...
Have any of you tried Amazon SES for email? I paid to clean my list and then
started using them.
I can send out 20,000 emails for $2. Its so much cheaper. I do use a software
program called Sendy
in conjunction with Amazon which cost $50 (one time).
Just thought Id mention it, but its
Payments were getting processed but the results
confirmation didn't work. This is on Coldfusion 8.
That was exactly the problem, on CF 9 also.
the certificate needed is the Verisign G5 certificate
In my case, the certificate I got from the Paypal site was a Symantec
certificate.
That is
Verisign certificate products have been taken over by Symantec.
2015-04-03 18:54 GMT+02:00 :
Payments were getting processed but the results
confirmation didn't work. This is on Coldfusion 8.
That was exactly the problem, on CF 9 also.
the certificate needed is the Verisign G5
Hi guys,
I have a rule of thumb. NEVER DELETE ANY DATA. Be it an obsolete email, a
diseased customer, etc. I just flag the as NOT TO BE USED. This is because over
time, someone may decide to activate that data and become your next biggest
buyer.
Also, with respect to newsletters, I have over
When I read these messages, I checked one of my old websites that
uses paypal integration services and found that it stopped
working. Payments were getting processed but the results
confirmation didn't work. This is on Coldfusion 8.
Thanks to this thread I found the problem and fixed it..
So then is the symantec certificate newer? Should I also add
that? What is the link to it? They have so many certificates on paypal
Verisign certificate products have been taken over by Symantec.
2015-04-03 18:54 GMT+02:00 :
Payments were getting processed but the results
Best option is to contact PayPal support with that question. They should be
able to point you to the valid certs.
Good luck, Michael
On Friday, April 3, 2015, Al Musella, DPM muse...@virtualtrials.com wrote:
So then is the symantec certificate newer? Should I also add
that? What is the
Paypal support is useless. I contacted them 3 times for another issue
last week and they couldn't help at all
At 04:11 PM 4/3/2015, you wrote:
Best option is to contact PayPal support with that question. They should be
able to point you to the valid certs.
Hi Folks
Robert details all the steps to keeping an email list clean and valid.
Having done that in the past and for a list of 5000 addresses I would say it is
a
far better deal to go with one of the email newsletter companies. Having tried
several I can highly recommend mailchimp
+1 for Mail Chimp. I was preparing to post about this but Robert did
a better job of explaining than I could. I never use anything but
Mail Chimp for bulk mail sends.
On Fri, Apr 3, 2015 at 10:29 AM, Rob Voyle robvo...@voyle.com wrote:
Hi Folks
Robert details all the steps to keeping an
It is true that using a service like Mail Chimp to validate a mail list is
an easy way to validate a mail list, but the steps I detailed are a valid
alternative for any full blown system you may be managing.
I've written systems that have opt-in, opt-out features and utilize a
variety of
I am trying to send a mass mailing to a somewhat carelessly created list of
contacts using e-mail addresses which were not verified at the time of
entry. Whenever the cfloop tag comes to an erroneous recipient, it quits and
throws an error. Is there anything I can do to the code to make it keep
Dave,
A) What is the error. Fixing the error will keep your loop going.
B) Using a try/catch INSIDE the loop will allow you to keep it going - with
the caveat that you will miss whatever email throws the error so you might
want to log that inside the catch.
-Mark
-Original Message-
You may want to add a cftry/cfcatch (around the cfmail block) so when
the error occurs it can be handled gracefully via cfcatch (like tagging
the recipient record as having a bad address) and the loop will keep
going - valid recipients get their mail and the others can be cleansed
from the
cftry
Run you CFMAIL..
cfcatchMark email bad in database/cfcatch
/cftry
-Original Message-
From: Dave Long [mailto:d...@northgoods.com]
Sent: Thursday, April 02, 2015 5:12 PM
To: cf-talk
Subject: Handling invalid recipient in mailing list
I am trying to send a mass mailing to a
Dave,
You could have your code 'automatically' scrub the list and use a 'log' to
keep track of the changes. This way you won't have to do a test run.
Also, you could set up your code on a 'dummy' email server that will send
the email but trap it prior to being mailed, this way you don't have
Thanks to all. The scheme worked perfectly. Next I will have to warn my
recipients that a test is coming so I can remove invalid recipients.
Unless maybe you can suggest a method to delete them as they occur. I intend
to add a confirmation message requirement to our contact form, which should
1 - 100 of 367553 matches
Mail list logo