{"id":72,"date":"2008-08-19T09:57:10","date_gmt":"2008-08-19T14:57:10","guid":{"rendered":"http:\/\/www.cfchimp.com\/wordpress\/?p=72"},"modified":"2024-12-05T12:30:43","modified_gmt":"2024-12-05T17:30:43","slug":"using-dreamweaver-to-work-with-cfmail-files","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2008\/08\/using-dreamweaver-to-work-with-cfmail-files\/","title":{"rendered":"Using Dreamweaver to work with .cfmail files"},"content":{"rendered":"<p>I had a BIG problem recently at a hosting company for a project I work on.  They had &#8220;something go wrong&#8221; during an upgrade to ColdFusion 8 and they lost our site&#8217;s settings from ColdFusion 7.  Rather than wasting valuable time trying to get them to restore a backup and redo the upgrade I forged on trying to set everything right.<\/p>\n<p>One of the problems I came across was that the hosting company set the mail server to be a different one than what we had for CF7.  Why did this matter?  Well, there were about 300 messages sitting in the &#8220;Undelivr&#8221; folder that needed to go out.  In each of those messages was the old (now incorrect) mail server info.  Since I was under the gun to get the mail out I pulled them all down via FTP to parse through them with Dreamweaver.<\/p>\n<p>I used this article to configure Dreamweaver to edit my extensions.txt file to be able to open and perform search and replace on .cfmail files:<\/p>\n<p>http:\/\/kb.adobe.com\/selfservice\/viewContent.do?externalId=tn_16410<\/p>\n<p>Here is a what the extensions.txt file looks like:<\/p>\n<p><a href=\"https:\/\/csimmons.dev\/blog\/wp-content\/uploads\/2008\/08\/extensions_txt.jpg\"><img width=\"300\" height=\"112\" data-public-id=\"extensions_txt\/extensions_txt.jpg\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-post-72 wp-image-73\" title=\"extensions_txt\" src=\"https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_300,h_112,c_scale\/f_auto,q_auto\/v1\/extensions_txt\/extensions_txt.jpg?_i=AA\" alt=\"Dreamweaver&#039;s extensions.txt file\" data-format=\"jpg\" data-transformations=\"f_auto,q_auto\" data-version=\"1\" data-seo=\"1\" srcset=\"https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_300,h_112,c_scale\/f_auto,q_auto\/v1\/extensions_txt\/extensions_txt.jpg?_i=AA 300w, https:\/\/res.cloudinary.com\/ccsimmons\/images\/f_auto,q_auto\/v1\/extensions_txt\/extensions_txt.jpg?_i=AA 925w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once I got all of the .cfmail files updated, I FTP&#8217;d them back into the spool folder for re-processing.  No dice.  ColdFusion moved it all back to the &#8220;Undelivr&#8221; folder with a cryptic error:<\/p>\n<p><code>The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory. The invalid file MailXXXXXX.cfmail was moved to the undeliverable directory.<\/code><\/p>\n<p>The next step&#8230; Hot Fix.  Read about it <a href=\"http:\/\/www.bennadel.com\/blog\/1233-The-ColdFusion-Mail-Spool-Encountered-An-Invalid-Spool-File-In-The-Spool-Directory.htm\" target=\"_blank\">here<\/a>.<\/p>\n<p>After the Hot Fix I again dropped the .cfmail files back into the spool folder for re-processing.  This time&#8230; Sweet Success.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a BIG problem recently at a hosting company for a project I work on. They had &#8220;something go wrong&#8221; during an upgrade to ColdFusion 8 and they lost our site&#8217;s settings from ColdFusion 7. Rather than wasting valuable time trying to get them to restore a backup and redo the upgrade I forged &#8230; <a title=\"Using Dreamweaver to work with .cfmail files\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2008\/08\/using-dreamweaver-to-work-with-cfmail-files\/\" aria-label=\"Read more about Using Dreamweaver to work with .cfmail files\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48,12,14],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-developer","tag-coldfusion","tag-developer","tag-dreamweaver"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-1a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}