Solved

schedule email to send file attachment

Posted on 2003-12-08
7
262 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Suggested Solutions

Title # Comments Views Activity
Two nodes for updates and forwarding 8 51
Internal DNS Zone Issue 13 60
Apache SSL and mod_rewrite not working 8 122
Question to locate the problem 18 79
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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now