Dear All,
I've recently set up CFMX enterprise on a linux machine. Everything seemed to work, CF
administrator, etc. But while trying to use the CFMail tag, I kept getting an error
saying this:
=========
An exception occurred when setting up mail server parameters.
This exception was caused by: coldfusion.mail.MailSessionException: An exception
occurred when setting up mail server parameters..
The Error Occurred in /var/www/html/testmailer.cfm: line 9
Called from /var/www/html/testmailer.cfm: line 9
Called from /var/www/html/testmailer.cfm: line 9
Called from /var/www/html/testmailer.cfm: line 9
7 :
8 : <body>
9 : <cfmail to="[EMAIL PROTECTED]" from="System <[EMAIL PROTECTED]>"
subject="Test" server="localhost">
10 : This is a test to show it works,,,
11 : </cfmail
Stack Trace (click to expand)
at cftestmailer2ecfm1591772562.runPage(/var/www/html/testmailer.cfm:9) at
cftestmailer2ecfm1591772562.runPage(/var/www/html/testmailer.cfm:9) at
cftestmailer2ecfm1591772562.runPage(/var/www/html/testmailer.cfm:9) at
cftestmailer2ecfm1591772562.runPage(/var/www/html/testmailer.cfm:9)
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1157)
at java.io.File.createTempFile(File.java:1242)
at coldfusion.mail.MailSpooler.postSpoolMail(Unknown Source)
at coldfusion.mail.MailSpooler.storeMail(Unknown Source)
at coldfusion.tagext.net.MailTag.doAfterBody(Unknown Source)
at cftestmailer2ecfm1591772562.runPage(/var/www/html/testmailer.cfm:9)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source)
at coldfusion.filter.CfincludeFilter.invoke(Unknown Source)
at coldfusion.filter.ApplicationFilter.invoke(Unknown Source)
at coldfusion.filter.PathFilter.invoke(Unknown Source)
at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
at coldfusion.CfmServlet.service(Unknown Source)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
====
when the template is called. When I look at my mail log file, I find this message:
An exception occurred when setting up mail server parameters. This exception was
caused by: java.io.IOException: No such file or directory.
I know my mail server works and I know that the mail server has been specified with
the correct port settings in CF administrator.
Does anyone know why this exception keeps getting thrown?
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com