Solved

schedule email to send file attachment

Posted on 2003-12-08
7
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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