[ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Jeff Howard
Can anyone tell me where to look if I'm having issues with mail not being
sent.  I've gone through the Administrator and verified my mail server
connection (Connection Verification Successful) but emails are not being
sent.  I look in the log files and there are no log entries mail.log,
mailsent.log for the test email I am trying to send.

Are there settings that I'm missing somewhere?  I'm trying to fix and
application that is supposed to be emailing reports daily.  The developer
that was working on it was let go and the application quit sending the daily
emails.  I've been tasked with correcting the issue and time is critical.

Any ideas would be greatly appreciated.

Thanks,
Jeff



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Cameron Childress
Have you checked the mail/spool directory or the mail/undelivrd
directories for the messages?  Is there a scheduled task triggering
the emails?  Manually run it and watch those directories to see if it
appears.  If it doesn't, the template is probable erroring - run it by
hand in the browser to see what the error is.  You may also want to
look in the application.log and exception.log files for the error if
it's now trapped in a cfcatch block.

If you are sure the template isn't erroring, make sure that mail
logging is turned on in the administrator and check the logs.

-Cameron

On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





RE: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Dusty Hale
It might be that the email server you specified requires authentication. Are
you passing the username and password of the email account your trying to
send mail from?
 
cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] mailto:[EMAIL 
PROTECTED] 
server=mail.joe.com username=[EMAIL PROTECTED] password=foo
Testing 123 ...
/cfmail

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: 06/23/2008 1:10 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] CFMAIL issue


Can anyone tell me where to look if I'm having issues with mail not being
sent.  I've gone through the Administrator and verified my mail server
connection (Connection Verification Successful) but emails are not being
sent.  I look in the log files and there are no log entries mail.log,
mailsent.log for the test email I am trying to send.
 
Are there settings that I'm missing somewhere?  I'm trying to fix and
application that is supposed to be emailing reports daily.  The developer
that was working on it was let go and the application quit sending the daily
emails.  I've been tasked with correcting the issue and time is critical.
 
Any ideas would be greatly appreciated.
 
Thanks,
Jeff

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Dawn Hoagland
You didn't say what version of CF.  I know that earlier versions (at least
4.x - and perhaps 5) had issues if a message was malformed.  That one
message is all it takes.  No amount of rebooting/restarting fixes it.

Move/delete all undelivered mail and see if that fixes your issue.

Dawn

On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:

 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff

 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 -



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Cameron Childress
Or the IP address, or a number of other things.  I would focus on
getting an error to show up in a log before trying any UN/PW or IP
changes.  Otherwise you are just shooting in the dark.

-Cameron

On Mon, Jun 23, 2008 at 1:15 PM, Dusty Hale [EMAIL PROTECTED] wrote:
 It might be that the email server you specified requires authentication. Are
 you passing the username and password of the email account your trying to
 send mail from?

 cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] server=mail.joe.com
 username=[EMAIL PROTECTED] password=foo
 Testing 123 ...
 /cfmail


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Jeff Howard
Thanks for the quick responses.

Here is the version information:
   *Server Details *
 Server Product
 ColdFusion MX
 Version
 7,0,2,142559
 Edition
 Standard
 Serial Number
 CPD700-57133-17219-06784
 Operating System
 Windows 2003
 OS Version
 5.2
and this is the simple sample code I'm running

CFMAIL to = [EMAIL PROTECTED]
   from = [EMAIL PROTECTED]
   subject = test email
   failto=[EMAIL PROTECTED]
type=html
server=123.456.789.98
port=25
   THIS IS A TEST EMAIL.
   /CFMAIL

The email works fine on the dev server but not on the production server.
There are 8 different reports that are all scheduled.  I have run the
directly in the browser and there are no errors being thrown.  Nothing is
being written to the logs, but I have not looked in those directories.  I'll
request access and check them out.

Thanks again.



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Dusty Hale
you might need to add the username and password attributes to your
cfmail tag. Most email servers require authentication and if not they
should. Otherwise anyone could use the email server to send out spam and
other junk. 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: 06/23/2008 2:01 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFMAIL issue


Thanks for the quick responses.
 
Here is the version information:

Server Details 

Server Product 
ColdFusion MX 

Version 
7,0,2,142559   

Edition 
Standard   

Serial Number 
CPD700-57133-17219-06784   

Operating System 
Windows 2003   

OS Version 
5.2   
and this is the simple sample code I'm running
 
CFMAIL to = [EMAIL PROTECTED] 
   from = [EMAIL PROTECTED]
   subject = test email
   failto=[EMAIL PROTECTED]
type=html
server=123.456.789.98
port=25
   THIS IS A TEST EMAIL.
   /CFMAIL
 
The email works fine on the dev server but not on the production server.
There are 8 different reports that are all scheduled.  I have run the
directly in the browser and there are no errors being thrown.  Nothing is
being written to the logs, but I have not looked in those directories.  I'll
request access and check them out.
 
Thanks again.

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread shawn gorrell
There are plenty of other ways to skin that cat without requiring 
loginid/password. 

And you can alway setup the mail server in CF admin and avoid putting any of 
that stuff in the cfmail tag. That way you don't have broken code if a mail 
server happens to move. 


- Original Message 
From: Dusty Hale [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 2:08:13 PM
Subject: RE: [ACFUG Discuss] CFMAIL issue


you might need to add the username and password 
attributes to your cfmail tag. Most email servers require authentication and if 
not they should. Otherwise anyone could use the email server to send out spam 
and other junk. 



 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: 06/23/2008 2:01 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFMAIL 
issue


Thanks for the quick responses.
 
Here is the version information:
Server Details  
Server Product  ColdFusion MX  
Version  7,0,2,142559
Edition  Standard
Serial Number  CPD700-57133-17219-06784
Operating System  Windows 2003
OS Version  5.2
and this is the simple sample code I'm running
 
CFMAIL to = [EMAIL PROTECTED] 
   from = [EMAIL PROTECTED]
   
subject = test 
email
   
failto=[EMAIL PROTECTED]

type=html

server=123.456.789.98

port=25
   
THIS IS A TEST EMAIL.
   /CFMAIL
 
The email works fine on the dev server but not on the production 
server.  There are 8 different reports that are all scheduled.  I have 
run the directly in the browser and there are no errors being thrown.  
Nothing is being written to the logs, but I have not looked in those 
directories.  I'll request access and check them out.
 
Thanks 
again.
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Jeff Howard
Ok, so the mail/spool directory has all the missing emails.  Is there a way
to force the spool to fire off?

On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The developer
  that was working on it was let go and the application quit sending the
 daily
  emails.  I've been tasked with correcting the issue and time is critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -







-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread shawn gorrell
Just copy the files back to the spool from undeliverable. But if the messages 
are defective, or the server is misconfigured they may not resend.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 2:51:55 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue

Ok, so the mail/spool directory has all the missing emails.  Is there a way to 
force the spool to fire off?


On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED] wrote:

Have you checked the mail/spool directory or the mail/undelivrd
directories for the messages?  Is there a scheduled task triggering
the emails?  Manually run it and watch those directories to see if it
appears.  If it doesn't, the template is probable erroring - run it by
hand in the browser to see what the error is.  You may also want to
look in the application.log and exception.log files for the error if
it's now trapped in a cfcatch block.

If you are sure the template isn't erroring, make sure that mail
logging is turned on in the administrator and check the logs.

-Cameron


On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff
 -

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Cameron Childress
They are in mail/spool?  or mail/undelivrd?

If it's mail/spool, something's going wrong.  A restart of CF will
probably fix it, but you shouldn't see anything sitting in the spool
for very long.  You might also check the setting in the cfadmin to
make sure the spooler interval isn't very very high.

If they are in undelivered, you can just copy them over like Shawn
suggested, just be aware of how old the email might be.  Your boss
might not want to get days worth of old reports all at once.

-Cameron

On Mon, Jun 23, 2008 at 2:51 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Ok, so the mail/spool directory has all the missing emails.  Is there a way
 to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
  being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
  developer
  that was working on it was let go and the application quit sending the
  daily
  emails.  I've been tasked with correcting the issue and time is
  critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -





 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Jeff Howard
the emails are actually in the spool, not undeliverable.  there's quite a
few in there comprising several days of reports.  any ideas on why they
would get stuck in the spool?

like i said, i run the exact same script on the dev server and have no
issues at all which is ok for reports but there are other events that can
occur in the system that trigger the sending of an email that I can't use
the dev server as a work around.

On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

  Just copy the files back to the spool from undeliverable. But if the
 messages are defective, or the server is misconfigured they may not resend.

  - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 2:51:55 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

  Ok, so the mail/spool directory has all the missing emails.  Is there a
 way to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
 being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
 developer
  that was working on it was let go and the application quit sending the
 daily
  emails.  I've been tasked with correcting the issue and time is
 critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -





 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com/
 -

 -
  To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com/
 -




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread shawn gorrell
Oh, then you should restart the CF service. I had this happen just the other 
day. There is a hotfix that addresses the specific issue behind it. Check the 
adobe kb for it.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 3:05:23 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


the emails are actually in the spool, not undeliverable.  there's quite a few 
in there comprising several days of reports.  any ideas on why they would get 
stuck in the spool?
 
like i said, i run the exact same script on the dev server and have no issues 
at all which is ok for reports but there are other events that can occur in the 
system that trigger the sending of an email that I can't use the dev server as 
a work around.


On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

Just copy the files back to the spool from undeliverable. But if the messages 
are defective, or the server is misconfigured they may not resend.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org

Sent: Monday, June 23, 2008 2:51:55 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


Ok, so the mail/spool directory has all the missing emails.  Is there a way to 
force the spool to fire off?


On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED] wrote:

Have you checked the mail/spool directory or the mail/undelivrd
directories for the messages?  Is there a scheduled task triggering
the emails?  Manually run it and watch those directories to see if it
appears.  If it doesn't, the template is probable erroring - run it by
hand in the browser to see what the error is.  You may also want to
look in the application.log and exception.log files for the error if
it's now trapped in a cfcatch block.

If you are sure the template isn't erroring, make sure that mail
logging is turned on in the administrator and check the logs.

-Cameron


On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff
 -

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





- 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/

Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Cameron Childress
Well, there use to be a problem in older version where a malformed
message would get stuck in the spool and hold up the rest.  I think
it's been fixed as of the MX line, but there still could be something
like that going on.  A few possibilities come to mind:

1) The internal CF task that picks up the mail is not firing for some reason
2) A malformed message (look for zero byte files) is clogging it up
3) The process writing the email has permission to write it, but the
process picking it up has different permissions and can't read it
(unlikely)

I'd move all the spooled files to a temp location, restart CF, and
then try to fire your scheduled event again.  if it goes through,
either CF was hung or there is something wrong with one of the
messages.  You can start dropping them back int he spool a few at a
time till you find the offending message.

-Cameron

On Mon, Jun 23, 2008 at 3:05 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 the emails are actually in the spool, not undeliverable.  there's quite a
 few in there comprising several days of reports.  any ideas on why they
 would get stuck in the spool?

 like i said, i run the exact same script on the dev server and have no
 issues at all which is ok for reports but there are other events that can
 occur in the system that trigger the sending of an email that I can't use
 the dev server as a work around.

 On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

 Just copy the files back to the spool from undeliverable. But if the
 messages are defective, or the server is misconfigured they may not resend.

 - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 2:51:55 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

 Ok, so the mail/spool directory has all the missing emails.  Is there a
 way to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
  being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not
  being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
  developer
  that was working on it was let go and the application quit sending the
  daily
  emails.  I've been tasked with correcting the issue and time is
  critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -





 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 

RE: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread John Mason
Shawn and Cam got this, if you dump too many emails into the CF spool
without that hotfix. The spool will lock up and not do anything. You should
see errors in your mail.log file for CF. This is not an issue in CF8. A
restart will temporarily fix it but you will want to apply that hotfix or
upgrade to CF8. Typically, if you are sending a mass emails, do them in
smaller batches of 100-200 each and send them in 5-10 min bursts to prevent
problems such as these.

John Mason
[EMAIL PROTECTED]
770.337.8363

www.FusionLink.com - ColdFusion and Flex hosting
Now offering VPS Plans running with VMware technology
Now offering ColdFusion 8 Enterprise hosting
FREE Subversion hosting


  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawn gorrell
Sent: Monday, June 23, 2008 3:07 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFMAIL issue


Oh, then you should restart the CF service. I had this happen just the other
day. There is a hotfix that addresses the specific issue behind it. Check
the adobe kb for it.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 3:05:23 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


the emails are actually in the spool, not undeliverable.  there's quite a
few in there comprising several days of reports.  any ideas on why they
would get stuck in the spool?
 
like i said, i run the exact same script on the dev server and have no
issues at all which is ok for reports but there are other events that can
occur in the system that trigger the sending of an email that I can't use
the dev server as a work around.


On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:


Just copy the files back to the spool from undeliverable. But if the
messages are defective, or the server is misconfigured they may not resend.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org

Sent: Monday, June 23, 2008 2:51:55 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


Ok, so the mail/spool directory has all the missing emails.  Is there a way
to force the spool to fire off?


On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
wrote:


Have you checked the mail/spool directory or the mail/undelivrd
directories for the messages?  Is there a scheduled task triggering
the emails?  Manually run it and watch those directories to see if it
appears.  If it doesn't, the template is probable erroring - run it by
hand in the browser to see what the error is.  You may also want to
look in the application.log and exception.log files for the error if
it's now trapped in a cfcatch block.

If you are sure the template isn't erroring, make sure that mail
logging is turned on in the administrator and check the logs.

-Cameron


On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the
daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff

 -

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform 

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



--

Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com http://www.sumoc.com/ 
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com http://www.fusionlink.com/ 
-







- 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 

Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread shawn gorrell
There is a new version of that issue on 7 which has a hotfix.

http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402001


- Original Message 
From: Cameron Childress [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 3:17:20 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue

Well, there use to be a problem in older version where a malformed
message would get stuck in the spool and hold up the rest.  I think
it's been fixed as of the MX line, but there still could be something
like that going on.  A few possibilities come to mind:

1) The internal CF task that picks up the mail is not firing for some reason
2) A malformed message (look for zero byte files) is clogging it up
3) The process writing the email has permission to write it, but the
process picking it up has different permissions and can't read it
(unlikely)

I'd move all the spooled files to a temp location, restart CF, and
then try to fire your scheduled event again.  if it goes through,
either CF was hung or there is something wrong with one of the
messages.  You can start dropping them back int he spool a few at a
time till you find the offending message.

-Cameron

On Mon, Jun 23, 2008 at 3:05 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 the emails are actually in the spool, not undeliverable.  there's quite a
 few in there comprising several days of reports.  any ideas on why they
 would get stuck in the spool?

 like i said, i run the exact same script on the dev server and have no
 issues at all which is ok for reports but there are other events that can
 occur in the system that trigger the sending of an email that I can't use
 the dev server as a work around.

 On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

 Just copy the files back to the spool from undeliverable. But if the
 messages are defective, or the server is misconfigured they may not resend.

 - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 2:51:55 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

 Ok, so the mail/spool directory has all the missing emails.  Is there a
 way to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
  being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not
  being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
  developer
  that was working on it was let go and the application quit sending the
  daily
  emails.  I've been tasked with correcting the issue and time is
  critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -





 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -
 

RE: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Troy Jones
I have seen that very situation a good number of times on MX7. I have not seen 
it on 8 at all. Very uncommon, but it does happen. I can usually trace it to 
something with an email address, to=[EMAIL PROTECTED].



From: [EMAIL PROTECTED] on behalf of Cameron Childress
Sent: Mon 6/23/2008 3:17 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFMAIL issue



Well, there use to be a problem in older version where a malformed
message would get stuck in the spool and hold up the rest.  I think
it's been fixed as of the MX line, but there still could be something
like that going on.  A few possibilities come to mind:

1) The internal CF task that picks up the mail is not firing for some reason
2) A malformed message (look for zero byte files) is clogging it up
3) The process writing the email has permission to write it, but the
process picking it up has different permissions and can't read it
(unlikely)

I'd move all the spooled files to a temp location, restart CF, and
then try to fire your scheduled event again.  if it goes through,
either CF was hung or there is something wrong with one of the
messages.  You can start dropping them back int he spool a few at a
time till you find the offending message.

-Cameron

On Mon, Jun 23, 2008 at 3:05 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 the emails are actually in the spool, not undeliverable.  there's quite a
 few in there comprising several days of reports.  any ideas on why they
 would get stuck in the spool?

 like i said, i run the exact same script on the dev server and have no
 issues at all which is ok for reports but there are other events that can
 occur in the system that trigger the sending of an email that I can't use
 the dev server as a work around.

 On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

 Just copy the files back to the spool from undeliverable. But if the
 messages are defective, or the server is misconfigured they may not resend.

 - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 2:51:55 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

 Ok, so the mail/spool directory has all the missing emails.  Is there a
 way to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
  being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not
  being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
  developer
  that was working on it was let go and the application quit sending the
  daily
  emails.  I've been tasked with correcting the issue and time is
  critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform 
  http://www.acfug.org/?fa=login.edituserform 
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com http://www.sumoc.com/ 
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform 
 http://www.acfug.org/?fa=login.edituserform 

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com http://www.fusionlink.com/ 
 -





 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform 
 

Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread Jeff Howard
Ok, the restart got all the emails out of the spool.

Thanks again for all the help.  My stress level just dropped immensely.  I
didn't see any email lock up the spool again as was mentioned.  Sounds like
I need to install the hotfix or convince my boss to upgrade to CF8.

On Mon, Jun 23, 2008 at 3:20 PM, John Mason [EMAIL PROTECTED] wrote:

  Shawn and Cam got this, if you dump too many emails into the CF spool
 without that hotfix. The spool will lock up and not do anything. You should
 see errors in your mail.log file for CF. This is not an issue in CF8. A
 restart will temporarily fix it but you will want to apply that hotfix or
 upgrade to CF8. Typically, if you are sending a mass emails, do them in
 smaller batches of 100-200 each and send them in 5-10 min bursts to prevent
 problems such as these.

 John Mason
 [EMAIL PROTECTED]
 770.337.8363

 www.FusionLink.com http://www.fusionlink.com/ - ColdFusion and Flex
 hosting
 Now offering VPS Plans running with VMware technology
 Now offering ColdFusion 8 Enterprise hosting
 FREE Subversion hosting

  --
 *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *shawn
 gorrell
 *Sent:* Monday, June 23, 2008 3:07 PM
 *To:* discussion@acfug.org

 *Subject:* Re: [ACFUG Discuss] CFMAIL issue

Oh, then you should restart the CF service. I had this happen just the
 other day. There is a hotfix that addresses the specific issue behind it.
 Check the adobe kb for it.

 - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 3:05:23 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

 the emails are actually in the spool, not undeliverable.  there's quite a
 few in there comprising several days of reports.  any ideas on why they
 would get stuck in the spool?

 like i said, i run the exact same script on the dev server and have no
 issues at all which is ok for reports but there are other events that can
 occur in the system that trigger the sending of an email that I can't use
 the dev server as a work around.

 On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

  Just copy the files back to the spool from undeliverable. But if the
 messages are defective, or the server is misconfigured they may not resend.

  - Original Message 
 From: Jeff Howard [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Monday, June 23, 2008 2:51:55 PM
 Subject: Re: [ACFUG Discuss] CFMAIL issue

  Ok, so the mail/spool directory has all the missing emails.  Is there a
 way to force the spool to fire off?

 On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED]
 wrote:

 Have you checked the mail/spool directory or the mail/undelivrd
 directories for the messages?  Is there a scheduled task triggering
 the emails?  Manually run it and watch those directories to see if it
 appears.  If it doesn't, the template is probable erroring - run it by
 hand in the browser to see what the error is.  You may also want to
 look in the application.log and exception.log files for the error if
 it's now trapped in a cfcatch block.

 If you are sure the template isn't erroring, make sure that mail
 logging is turned on in the administrator and check the logs.

 -Cameron

 On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
  Can anyone tell me where to look if I'm having issues with mail not
 being
  sent.  I've gone through the Administrator and verified my mail server
  connection (Connection Verification Successful) but emails are not
 being
  sent.  I look in the log files and there are no log entries mail.log,
  mailsent.log for the test email I am trying to send.
 
  Are there settings that I'm missing somewhere?  I'm trying to fix and
  application that is supposed to be emailing reports daily.  The
 developer
  that was working on it was let go and the application quit sending the
 daily
  emails.  I've been tasked with correcting the issue and time is
 critical.
 
  Any ideas would be greatly appreciated.
 
  Thanks,
  Jeff
  -
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
  -



 --
 Cameron Childress
 Sumo Consulting Inc
 http://www.sumoc.com
 ---
 cell: 678.637.5072
 aim: cameroncf
 email: [EMAIL PROTECTED]


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 

Re: [ACFUG Discuss] CFMAIL issue

2008-06-23 Thread shawn gorrell
Do the hotfix for the moment and decide about CF8 later. Supposedly the mail 
service is far more robust on 8, but I can't say I've had to prove it.

Until you get the hotfix in, another thing you can try is using the 
ServiceFactory to restart the mail spool.

cfobject action=CREATE
   type=JAVA
   class=coldfusion.server.ServiceFactory
   name=factory
  
cfset MailSpoolService = factory.getMailSpoolService() 
cfset MailSpoolService.restart()


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 4:17:55 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


Ok, the restart got all the emails out of the spool.
 
Thanks again for all the help.  My stress level just dropped immensely.  I 
didn't see any email lock up the spool again as was mentioned.  Sounds like I 
need to install the hotfix or convince my boss to upgrade to CF8.


On Mon, Jun 23, 2008 at 3:20 PM, John Mason [EMAIL PROTECTED] wrote:

Shawn and Cam got this, if you dump too many emails into the CF spool without 
that hotfix. The spool will lock up and not do anything. You should see errors 
in your mail.log file for CF. This is not an issue in CF8. A restart will 
temporarily fix it but you will want to apply that hotfix or upgrade to CF8. 
Typically, if you are sending a mass emails, do them in smaller batches of 
100-200 each and send them in 5-10 min bursts to prevent problems such as these.
John Mason
[EMAIL PROTECTED]
770.337.8363

www.FusionLink.com - ColdFusion and Flex hosting
Now offering VPS Plans running with VMware technology
Now offering ColdFusion 8 Enterprise hosting
FREE Subversion hosting



 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawn gorrell
Sent: Monday, June 23, 2008 3:07 PM
To: discussion@acfug.org 

Subject: Re: [ACFUG Discuss] CFMAIL issue


Oh, then you should restart the CF service. I had this happen just the other 
day. There is a hotfix that addresses the specific issue behind it. Check the 
adobe kb for it.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org
Sent: Monday, June 23, 2008 3:05:23 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


the emails are actually in the spool, not undeliverable.  there's quite a few 
in there comprising several days of reports.  any ideas on why they would get 
stuck in the spool?
 
like i said, i run the exact same script on the dev server and have no issues 
at all which is ok for reports but there are other events that can occur in the 
system that trigger the sending of an email that I can't use the dev server as 
a work around.


On Mon, Jun 23, 2008 at 2:53 PM, shawn gorrell [EMAIL PROTECTED] wrote:

Just copy the files back to the spool from undeliverable. But if the messages 
are defective, or the server is misconfigured they may not resend.


- Original Message 
From: Jeff Howard [EMAIL PROTECTED]
To: discussion@acfug.org

Sent: Monday, June 23, 2008 2:51:55 PM
Subject: Re: [ACFUG Discuss] CFMAIL issue


Ok, so the mail/spool directory has all the missing emails.  Is there a way to 
force the spool to fire off?


On Mon, Jun 23, 2008 at 1:16 PM, Cameron Childress [EMAIL PROTECTED] wrote:

Have you checked the mail/spool directory or the mail/undelivrd
directories for the messages?  Is there a scheduled task triggering
the emails?  Manually run it and watch those directories to see if it
appears.  If it doesn't, the template is probable erroring - run it by
hand in the browser to see what the error is.  You may also want to
look in the application.log and exception.log files for the error if
it's now trapped in a cfcatch block.

If you are sure the template isn't erroring, make sure that mail
logging is turned on in the administrator and check the logs.

-Cameron


On Mon, Jun 23, 2008 at 1:09 PM, Jeff Howard [EMAIL PROTECTED] wrote:
 Can anyone tell me where to look if I'm having issues with mail not being
 sent.  I've gone through the Administrator and verified my mail server
 connection (Connection Verification Successful) but emails are not being
 sent.  I look in the log files and there are no log entries mail.log,
 mailsent.log for the test email I am trying to send.

 Are there settings that I'm missing somewhere?  I'm trying to fix and
 application that is supposed to be emailing reports daily.  The developer
 that was working on it was let go and the application quit sending the daily
 emails.  I've been tasked with correcting the issue and time is critical.

 Any ideas would be greatly appreciated.

 Thanks,
 Jeff
 -

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



--
Cameron 

[ACFUG Discuss] Problem on Only One PC

2008-06-23 Thread Peyton Todd
Dear Colleagues,

This could be a tough one to solve. But maybe not. My website has three 
reports, all three accomplished by loading a PDF into a child browser window. 
The report process works fine on every computer it has been tested on except 
one (wouldn't you know it): the boss's computer. On his computer, the child 
window opens, but then, instead of the report displaying in it, the child 
window suddenly closes, and the user is taken back to the login screen.

(In one of the three reports, the PDF will already exist, while in the other 
two it gets built dynamically; however this seems not to matter since the same 
error happens for all three reports.)

The javascript for one of the latter two reports is:

function Print(jn){
   url = 'printJob.cfm?jn=' + jn;
   win=window.open(url,'Print','width=800,height=500,resizable=yes');
   win.focus();
   win.moveTo(80,80);
   }


And printJob.cfm looks like this:

cfset filename = UCase(Session.username)  .PDF
cfdocument format=PDF filename=#filename# overwrite=yes

-- a lot of ColdFusion tags and HTML goes here --

/cfdocument

cflocation url=#filename#


Here's a clue: The behavior is probably somehow related to application.cfm. I 
have recently noticed a strange behavior which wasn't happening in earlier 
versions: when the child browser window opens, and while printJob.cfm is still 
building the #filename#, the login window opens inside the child browser 
window, but then as soon as #filename# gets built, it appears in the child 
browser window just as it should, supplanting the login window which had 
appeared there.

application.cfm looks like this:

cfapplication name=Reporters sessionmanagement=Yes 
   setclientcookies=Yes sessiontimeout=#CreateTimeSpan(0,0,45,15)#
applicationtimeout=#CreateTimeSpan(0,0,1,0)#

cflock scope='Session' type='Exclusive' timeout='30'
  cfparam name='Session.LoggedIn' Default='False'
/cflock

!-- If the user isn't logged in and they aren't currently on the login page, 
send them to the login page --
cflock scope='Session' type='Readonly' timeout=30
cfif not Session.LoggedIn
  cfif cgi.script_name is not '/Reporters/ReporterLogin.cfm'
  cflocation url='/Reporters/ReporterLogin.cfm'
/cfif
/cfif
/cflock

However, there is no way users can get to the button(s) which run reports 
unless they are logged in. And the process of building the reports never takes 
as long as 30 seconds. Even if it did, that all happens on the server, and 
should have nothing to do which which client computer the report is run from.

What could be wrong here?

Thanks for your help.

Peyton



 







-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] Problem on Only One PC

2008-06-23 Thread Dean H. Saxe
Have you tried debugging by watching the raw HTTP requests with  
something like Paros or Charles?


-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
[U]nconstitutional behavior by the authorities is constrained only by  
the peoples' willingness to contest them

--John Perry Barlow


On Jun 23, 2008, at 10:18 PM, Peyton Todd wrote:


Dear Colleagues,

This could be a tough one to solve. But maybe not. My website has  
three reports, all three accomplished by loading a PDF into a child  
browser window. The report process works fine on every computer it  
has been tested on except one (wouldn't you know it): the boss's  
computer. On his computer, the child window opens, but then, instead  
of the report displaying in it, the child window suddenly closes,  
and the user is taken back to the login screen.


(In one of the three reports, the PDF will already exist, while in  
the other two it gets built dynamically; however this seems not to  
matter since the same error happens for all three reports.)


The javascript for one of the latter two reports is:

function Print(jn){
  url = 'printJob.cfm?jn=' + jn;
  win=window.open(url,'Print','width=800,height=500,resizable=yes');
  win.focus();
  win.moveTo(80,80);
  }


And printJob.cfm looks like this:

cfset filename = UCase(Session.username)  .PDF
cfdocument format=PDF filename=#filename# overwrite=yes

-- a lot of ColdFusion tags and HTML goes here --

/cfdocument

cflocation url=#filename#


Here's a clue: The behavior is probably somehow related to  
application.cfm. I have recently noticed a strange behavior which  
wasn't happening in earlier versions: when the child browser window  
opens, and while printJob.cfm is still building the #filename#, the  
login window opens inside the child browser window, but then as soon  
as #filename# gets built, it appears in the child browser window  
just as it should, supplanting the login window which had appeared  
there.


application.cfm looks like this:

cfapplication name=Reporters sessionmanagement=Yes
  setclientcookies=Yes sessiontimeout=#CreateTimeSpan(0,0,45,15)#
applicationtimeout=#CreateTimeSpan(0,0,1,0)#

cflock scope='Session' type='Exclusive' timeout='30'
 cfparam name='Session.LoggedIn' Default='False'
/cflock

!-- If the user isn't logged in and they aren't currently on the  
login page, send them to the login page --

cflock scope='Session' type='Readonly' timeout=30
cfif not Session.LoggedIn
 cfif cgi.script_name is not '/Reporters/ReporterLogin.cfm'
  cflocation url='/Reporters/ReporterLogin.cfm'
/cfif
/cfif
/cflock

However, there is no way users can get to the button(s) which run  
reports unless they are logged in. And the process of building the  
reports never takes as long as 30 seconds. Even if it did, that all  
happens on the server, and should have nothing to do which which  
client computer the report is run from.


What could be wrong here?

Thanks for your help.

Peyton











-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] Problem on Only One PC

2008-06-23 Thread Howard Fore
Peyton, here's a few questions to think about.
- Have you tried hitting the URL for the generated PDF in the web browser to
see if you get an error or something?
- Does this happen in just one browser or all (Firefox, IE, etc.)?
- If you can see this happen in Firefox, try turning on the error console
(Tools  Error Console) to see if something shows up there.
- Does he have a popup blocker installed that the other computers don't?

On Mon, Jun 23, 2008 at 10:18 PM, Peyton Todd [EMAIL PROTECTED]
wrote:

 Dear Colleagues,

 This could be a tough one to solve. But maybe not. My website has three
 reports, all three accomplished by loading a PDF into a child browser
 window. The report process works fine on every computer it has been tested
 on except one (wouldn't you know it): the boss's computer. On his computer,
 the child window opens, but then, instead of the report displaying in it,
 the child window suddenly closes, and the user is taken back to the login
 screen.

 (In one of the three reports, the PDF will already exist, while in the
 other two it gets built dynamically; however this seems not to matter since
 the same error happens for all three reports.)

 The javascript for one of the latter two reports is:

 function Print(jn){
   url = 'printJob.cfm?jn=' + jn;
   win=window.open(url,'Print','width=800,height=500,resizable=yes');
   win.focus();
   win.moveTo(80,80);
   }


 And printJob.cfm looks like this:

 cfset filename = UCase(Session.username)  .PDF
 cfdocument format=PDF filename=#filename# overwrite=yes

 -- a lot of ColdFusion tags and HTML goes here --

 /cfdocument

 cflocation url=#filename#


 Here's a clue: The behavior is probably somehow related to application.cfm.
 I have recently noticed a strange behavior which wasn't happening in earlier
 versions: when the child browser window opens, and while printJob.cfm is
 still building the #filename#, the login window opens inside the child
 browser window, but then as soon as #filename# gets built, it appears in the
 child browser window just as it should, supplanting the login window which
 had appeared there.

 application.cfm looks like this:

 cfapplication name=Reporters sessionmanagement=Yes
   setclientcookies=Yes sessiontimeout=#CreateTimeSpan(0,0,45,15)#
applicationtimeout=#CreateTimeSpan(0,0,1,0)#

 cflock scope='Session' type='Exclusive' timeout='30'
  cfparam name='Session.LoggedIn' Default='False'
 /cflock

 !-- If the user isn't logged in and they aren't currently on the login
 page, send them to the login page --
 cflock scope='Session' type='Readonly' timeout=30
 cfif not Session.LoggedIn
  cfif cgi.script_name is not '/Reporters/ReporterLogin.cfm'
  cflocation url='/Reporters/ReporterLogin.cfm'
/cfif
 /cfif
 /cflock

 However, there is no way users can get to the button(s) which run reports
 unless they are logged in. And the process of building the reports never
 takes as long as 30 seconds. Even if it did, that all happens on the server,
 and should have nothing to do which which client computer the report is run
 from.

 What could be wrong here?

 Thanks for your help.

 Peyton











 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -






-- 
Howard Fore, [EMAIL PROTECTED]
The universe tends toward maximum irony. Don't push it. - Jeff Atwood



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-