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,
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
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]
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,
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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.
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
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
22 matches
Mail list logo