Solved

schedule email to send file attachment

Posted on 2003-12-08
7
264 Views
Last Modified: 2013-12-24
here's a tricky one:

i want to send a file (excel spreadsheet) as an attachement 2 times a day at the same time. is there a way to schedule this? i know nothing about scheduling with cf.  i have managed to find the scheduler part of the cf admin though ;-)
0
Comment
Question by:phillystyle123
  • 4
  • 2
7 Comments
 
LVL 17

Expert Comment

by:Tacobell777
ID: 9900734
Create a page that contains <CFMAIL> and performs the action of sending the email with the attachment, put it on the web, schedule the url to run on the specified time.

What are the issues you are having? Which part is not clear?
0
 

Author Comment

by:phillystyle123
ID: 9901025
ok - i understand - do i have to have a form insert the file to the cfmail page or how do i actually perform the action???
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 9901206
<cfmail from = "you@domain.com" To = "him@domain.com" Subject = "Attachment">
   Text
   <cfmailparam file = "c:\whatever.txt" type="text/plain">
   <cfmailparam file = "c:\whatever.gif" type="image/gif">
</cfmail>
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 17

Expert Comment

by:anandkp
ID: 9901218
hi,

<CFMAIL FROM="anandkp@domain.com" To="phillystyle@domain.com" Subject="See
Important Attachments and Reply">
    <CFMAILPARAM FILE="c:\work\excel.xls"> <!--- physical path of the file to be attached --->
</CFMAIL>

Schedule this file in ur CFScheduler in CFADMIN.

incase u need more help - just ask !

K'Rgds
Anand
0
 
LVL 17

Accepted Solution

by:
Tacobell777 earned 75 total points
ID: 9902253
Anand, what exactly is different in what you are saying from what I am saying?
Just wondering, incase I am missing something, or gave a wrong answer..
0
 
LVL 17

Expert Comment

by:anandkp
ID: 9902327
yes - if u see the time - u'll know -what has happened [we submitted answeres at the same time & u were "1 minute" ahead]
I was abt to apologise for it - but thought u wld have been smart enough to have understood that by urself ...

but since u have mentioned it - I AM SORRY FOR DUPLICATING UR COMMENT!

phillystyle123 : pls IGNORE my COMMENT ... as u can see its a replica of Tacobell !

K'Rgds
Anand
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 9902375
Damn it, you are right, I aplogize... Had a bad day at work.....
Will you forgive me ;-))
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question