i guess the cfx_sleep tag to pause that for a second or two
wouldnt suffice here?

tw


-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] 
Sent: Monday, August 26, 2002 10:15 PM
To: CF-Talk
Subject: Re: CF vs. ASP


Pablo Varando wrote:
> Well what code are you using to loop through and send the emails?

<cfset thefile = "d:\cdr\p.jpg">
<cfmail from="#email#" to="#email#" subject="test">
<cfmailparam file="#thefile#">
test
</cfmail>
<cffile action="delete" file="#thefile#">

Error in the mail.log:
"Error","scheduler-4","08/27/02","04:03:47",,"Sending failed;   nested 
exception is:   javax.mail.MessagingException: IOException while sending

message;   nested exception is:         java.io.FileNotFoundException: 
c:\cfusionmx\wwwroot\www\p.jpg (The system cannot find the file
specified)"

Mail spool interval: 1 second.


> Post an example, maybe that there's soething there that might be
causing the
> problem.

Please take a good look at the mail spool format and see for yourself 
what is happening. Just read a spooled email with an attachment and it 
is quite obvious.

Jochem


______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to