Re: mail attachments prob

2009-05-07 Thread Eric P

The cfmailparam tag has a new attribute in CF 8 to delete an
attachment after it has been sent.

E.g.,
cfmailparam file=/tmp/attachment.txt remove=true

Eric

On Fri, May 2, 2008 at 10:22 AM, Richard Meredith-Hardy
r...@flymicro.com wrote:
 Don't worry, found it.

 In this case I was copying a file from one with a uuid name to one with a
 sensible name to send, sending it in cfmail, and then deleting it.

 In CF5 this was fine, but the copy was clearly being deleted in cf8 before
 cfmail got round to actually dealing with the attached file, hence the
 error.

 Richard

 -Original Message-
 From: Richard Meredith-Hardy [mailto:r...@flymicro.com]
 Sent: 02 May 2008 12:29
 To: CF-Talk
 Subject: mail attachments prob

 Sending a mail with an attachment. (works fine without)

 Can someone explain why code which works fine in CF5 won't
 work in CF8?

 Error in mail log is: IOException while sending message

 I can't see anything immediately obvious from the
 documentation, a mime type or something?  (these attachments
 are always pdf's)

 Thanks

 Richard






 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: mail attachments prob

2008-05-02 Thread Richard Meredith-Hardy
Don't worry, found it.  

In this case I was copying a file from one with a uuid name to one with a
sensible name to send, sending it in cfmail, and then deleting it.

In CF5 this was fine, but the copy was clearly being deleted in cf8 before
cfmail got round to actually dealing with the attached file, hence the
error.

Richard

 -Original Message-
 From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] 
 Sent: 02 May 2008 12:29
 To: CF-Talk
 Subject: mail attachments prob
 
 Sending a mail with an attachment. (works fine without)
 
 Can someone explain why code which works fine in CF5 won't 
 work in CF8?
 
 Error in mail log is: IOException while sending message
 
 I can't see anything immediately obvious from the 
 documentation, a mime type or something?  (these attachments 
 are always pdf's)
 
 Thanks
 
 Richard
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304649
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4