Solved

schedule email to send file attachment

Posted on 2003-12-08
7
267 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

734 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