Solved

schedule email to send file attachment

Posted on 2003-12-08
7
261 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Guacamole on port 80 5 107
CFFILE upload help 98 113
.dwt files not viewable in browser - why? 2 52
cookies analysis tools 2 29
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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

15 Experts available now in Live!

Get 1:1 Help Now