>- see footer for list info -< -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Eh > " cfmail TO="moi<ST1:PERSoNNAME style="BACKGROUND-IMAGE: > url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x; > BACKGROUND-: left bottom"@site.com</ST1:PERSoNNAME ..... " I beg your pardon ! - -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Baynes Sent: 12 April 2005 14:24 To: Coldfusion Development Subject: Re: [CF-Dev] CFSchedule to mail a csv file >- see footer for list info -< I would first of all not hardcode the directory in enquiries_record.cfm but use ExpandPath() to generate it dynamically that way it will adjust much better to being moved from a local server to your hosting. On Apr 12, 2005 1:40 PM, David Wyld <[EMAIL PROTECTED]> wrote: > >- see footer for list info -< > > > I have had a little difficulty getting an email scheduled to send a > csv attachment. > I have done the following it works OK on my application server but > fails on host any suggestions? > 1. set up a MIME attachemnt Type= application, extension = .csv. > 2.Set up the code on two .cfm files > <cfschedule action="update" task="dailyemail" > operation="HTTPRequest" > url="http://www.customer.co.uk/enquiries_record.cfm" > startdate="04/04/05" starttime="11:00 PM" interval="daily"> > The enquiries_record.cfm code is: > </style> > </head> > <cfset f_dir = "d:\wwwroot\................\reports\" > <cfset f_name = "#dateformat(now(),'ddmmyy')#.csv"> > <body><span class="style1"> > <cfmail TO="moi<ST1:PERSoNNAME style="BACKGROUND-IMAGE: > url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x; > BACKGROUND-: left bottom"@site.com</ST1:PERSoNNAME > FROM="[EMAIL PROTECTED]" > SUBJECT="Daily Record of all enquiries"> > <cfmailparam file="#f_dir##f_name#" type= > "application/csv"> > <!...text....> > </cfmail> </span> > </body> > </html> > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, > go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- Hosting provided by www.cfmxhosting.co.uk -< > >- Forum provided by www.fusetalk.com -< > >- DHTML Menus provided by www.APYCOM.com -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > >help -< > > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo - -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your >help -< - -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 - -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 -----BEGIN PGP SIGNATURE----- Version: PGP Personal Privacy 6.5.3 iQA/AwUBQlvm11A768D4gVAEEQL0lwCfe1+L+JLnGhZpQKunArKcD4pCwNoAnjbH Z+tjK7mA6z6sNy/cPy62MAp1 =yMpH -----END PGP SIGNATURE----- _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
