![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
Emailing File without user envokement?
is it possible to have a text file emailed at a specific time or day without been envoked by the user..............i already know how to email a text file............i know you could schedule a program/script that has this function........but i wanna be able to do this on my website and i don't think my hosting company will give me this feature....so i was wondering if it is possible to do this in a perl script.......... i thank you in advance for your replies.
__________________
Quote:
|
|
|
|
|
|
|
#2 | |
|
Programming Guru
![]() ![]() |
Quote:
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
|
#3 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
Yes Pizentios i am allowd to use perl..............can you please tell how this can be done.......i thank you in advance for your replies.
__________________
Quote:
|
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() |
do you also have access to cron or some other way to schedule the process?
If so, you will be able to do it. If you have access to sendmail or another email system (like qmail), it will be much easier. There are several sites with good information on how to do it this way. Here are a few: http://www.perlfect.com/articles/sendmail.shtml http://www.modwest.com/help/kb10-84.html There are ~many~ more sites on that topic. If you don't have access to the sendmail program or another MTA (MTA stands for Mail Transfer Agent) like qmail it will be slightly harder. You will have to use a perl package to do the work. If you really want to know how the email system works, use: Net: MTP (info on it can be found here: http://search.cpan.org/~gbarr/libnet-1.19/Net/SMTP.pm). However, there are many wrappers for the package, one of which is: Email: end: MTP (info on it can be found here: http://search.cpan.org/~rjbs/Email-S.../Send/SMTP.pm).There are many more packages out there that will handle email. I suggest searching cpan, or using google. Remember, before installing ~anything~ on your host's box, make sure to get permission first! If you don't you might be in danger of loosing your account, some sysadmins are ~very~ picky about that sort of thing (Hell even i am sometimes).
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 8:55 AM |
| Problem read'ing from file and user input | jmsilver | Bash / Shell Scripting | 3 | May 20th, 2005 2:35 PM |
| Instant Messaging App Help | AusTex | C | 0 | Apr 27th, 2005 4:52 PM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |