View Single Post
Old Jul 24th, 2006, 1:54 PM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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!
Pizentios is offline   Reply With Quote