The easiest way is to simply write a page that sends you an email and
thats it. Then set up a scheduled task on your personal machine that
hits the url of your email template.
If your a lot of your email is ending up in cfmail's undeliverable
folder and the emails are being sent to correct email addresses, your
isp may have mail server problems. Try to get them to set up the below
script or one like it to run every 30 minutes or so on the server. It
will copy any undeliverable email from the undeliverable folder back to
the spool. If the mail server problems are intermittent, this will give
the email's another chance to be sent.
var fso = new ActiveXObject("Scripting.FileSystemObject");
try {
fso.CopyFile("c:\\cfusion\\mail\\undelivr\*.cfmail","c:\\cfusion\\mail\\spool");
} catch(e) {
WScript.Echo(e.description);
}
jon
Tom Forbes wrote:
>Good Evening,
>I suspect my ISP is loosing mail, the mail server stops and I have to call
>and tell them to cycle the CF Server - then all is well, but most of the
>time I loose what was in the spool.
>
>I would like to use <CF MAIL> to auto send myself an e-mail every 10 min or
>so. Doing this, I could tell if the server was down by not receiving the
>message. I can not use the CF SCHEDULE TAG. How could I do this in a simple
>fashion??
>
>Thank You - I would appreciate any help.
>
>Tom
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists