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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting file that called Perl script

Status
Not open for further replies.

ghstber

Programmer
Joined
Aug 17, 2006
Messages
1
Location
US
Greetings!

I am trying to write a wrapper for sendmail that basically does the following:

1) write the file calling sendmail to a log.
2) write the headers of the email to a log.
3) write the first 20 or so lines to a log.

I have 2 and 3 complete, but I can't seem to find a way to get 1 accomplished. The file calling sendmail is a PHP script using the mail() function. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top