Adobe Dreamweaver Forums



Last 10 THreads :         My bullets dont work in my game >.< (Last Post : kglad - Replies : 1 - Views : 3 )           »          flash movie plays prematurely (Last Post : kglad - Replies : 6 - Views : 7 )           »          Image Fade Out/Load new Image/Fade In (Last Post : EWN-CMI - Replies : 0 - Views : 1 )           »          Recommend Reading? (Last Post : anpuofeck - Replies : 5 - Views : 7 )           »          static sound (Last Post : kglad - Replies : 15 - Views : 16 )           »          Detect multiple areas of transparency in an image? (Last Post : Rothrock - Replies : 8 - Views : 9 )           »          Add a full screen button to a video. (Last Post : kglad - Replies : 5 - Views : 9 )           »          Problems when uploading my website (Last Post : speculumcm - Replies : 4 - Views : 5 )           »          Dreamweaver CS3 Download (Last Post : DWFAQ.info - Replies : 5 - Views : 6 )           »          Pop up window using AS3 (Last Post : azilen - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Cold Fusion > Getting Started
 
Tags:



Reply
  #1 (permalink)  
Old 11-20-2008, 06:08 PM
Cesar Mendez
 
Posts: n/a
Diggs:
Default changing spool directory for cfmail

I currently have a table with about 9,000 registered accounts and would like to
send them a promotional email. i would like to spool all emails but would like
to hold them in another directory, such as the Picukp directory in IIS. CF has
Spool and Undeliverable so it either goes or is undeliverable. What would I
need to modify to make this happen?



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-20-2008, 06:44 PM
JR Bob Dobbs
 
Posts: n/a
Diggs:
Default Re: changing spool directory for cfmail

Instead of using the CFMAIL tag you could use CFFILE to create a properly
formatted file saved to your pickup folder.

How to test outbound mail flow with a file in the Pickup folder:
http://support.microsoft.com/kb/297700/en-us

Reply With Quote
  #3 (permalink)  
Old 11-20-2008, 08:54 PM
Cesar Mendez
 
Posts: n/a
Diggs:
Default Re: changing spool directory for cfmail

Do you mean that with simply replacing the cfmail tag with cffile it will save it to the pickup directory?
Reply With Quote


  #4 (permalink)  
Old 11-20-2008, 09:33 PM
Cesar Mendez
 
Posts: n/a
Diggs:
Default Re: changing spool directory for cfmail

I've been playing around with the tag and have got it working...sort of. With
the following code it moves the entire Spool directory into the Pickup folder.
Which is expected. However, I am trying to get all files with a .cfmail
extension into the Pickup directory but it throws an error when i try
...\Spool\*.cfmail or ..\Spool\*. or ..\Spool\'*.cfmail'. What is the proper
way to this?

Thanks
Cesar

<cffile
action = "move"
source = "C:\ColdFusion8\Mail\Spool\"
destination = "C:\ColdFusion8\Mail\Pickup">

Reply With Quote
  #5 (permalink)  
Old 11-20-2008, 09:44 PM
JR Bob Dobbs
 
Posts: n/a
Diggs:
Default Re: changing spool directory for cfmail

What is the error message? Does the account under which the ColdFusion server
runs have the required rights to access the folders? Does the *.cfmail file
format created by CF match the format expected by your email server?

Reply With Quote
  #6 (permalink)  
Old 11-20-2008, 09:44 PM
JR Bob Dobbs
 
Posts: n/a
Diggs:
Default Re: changing spool directory for cfmail

[q]Originally posted by: Cesar Mendez
Do you mean that with simply replacing the cfmail tag with cffile it will save
it to the pickup directory?[/q]

You would need to write some custom code, such as a CFC, that would use the
CFFILE tag to write to your pickup directory.



Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 06:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk