I have cfmail sending up to about 8 people (dynamically). One of these addresses is incorrect, so all email is not sent. Are there any settings in the coldfusion admin or in the cfmail tag where you can change this so that it sends 7 right people and only crashes for one person. I am using CF8.
Old school:
<cfloop query="mails"> <cftry> <cfmail from="#from#" to="#to#"> <!--- ... ---> </cfmail> <cfcatch> <div> Mail not sent. #cfcatch.detail# </div> </cfcatch> </cftry> </cfloop>
You can pre-process the list of letters with IsValid () and remove all items from the list that does not work.
Source: https://habr.com/ru/post/1716525/More articles:Notifying one bean from another in ICEFaces - jsfRedirecting the root only via .htaccess with other rules - redirectSWT Set column height or insert new row - javaHow to manage namespace in .NET SoapFormatter? - c #Show HTML in JSP (don't βrenderβ HTML) - htmldjango: ImportError No module named myapp.views.hometest - pythonLINQ: get the first character of each line in the array - stringSubsonic 3.0.0.3 SQL Paging Using Linq - linqAsp.net Mvc: nullable filter parameter - nullableiostream user data - c ++All Articles