Skip to main content
Participant
November 20, 2008
Question

changing spool directory for cfmail

  • November 20, 2008
  • 1 reply
  • 660 views
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?
This topic has been closed for replies.

1 reply

Inspiring
November 20, 2008
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
Participant
November 20, 2008
Do you mean that with simply replacing the cfmail tag with cffile it will save it to the pickup directory?
Inspiring
November 20, 2008
quote:

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?


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