Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic mail reply using Perl?

Status
Not open for further replies.

StickyBit

Technical User
Jan 4, 2002
264
CA
Folks,

When a recipient receives mail on my mail server, how can I send an automatic email reply back to the sender? Can this be done using Perl?

I was working for a company and had access to their Sendmail mail server. In the /usr/bin/alias file, I think I saw an alias name then a pipe to a perl script, when I asked what is this? someone told me that the perl script was an automatic email reply program for the recipient.

Is this a valid way to trigger automatic email replies? Please shine some light on this topic, if I can get a high level explanation on this process, I can create the code.


Thanks,

StickyBit.





Inappropriate
 
U can write a perl script to check mails on a periodic basis and reply the new mails using that script.

U can schedule this script using cron..

Regds,

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top