0
changing spool directory for cfmail
New Here
,
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/td-p/99191
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
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?
TOPICS
Getting started
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advisor
,
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/m-p/99192#M9719
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
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
How to test outbound mail flow with a file in the Pickup folder:
http://support.microsoft.com/kb/297700/en-us
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Cesar Mendez
AUTHOR
New Here
,
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/m-p/99193#M9720
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
Do you mean that with simply replacing the cfmail tag with
cffile it will save it to the pickup directory?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advisor
,
LATEST
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/m-p/99196#M9723
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Cesar Mendez
AUTHOR
New Here
,
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/m-p/99194#M9721
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
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
Thanks
Cesar
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advisor
,
/t5/coldfusion-discussions/changing-spool-directory-for-cfmail/m-p/99195#M9722
Nov 20, 2008
Nov 20, 2008
Copy link to clipboard
Copied
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?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

