Hello I need simple script wich sends email through perl script, on msg or pub command ( script must check for valide user )
sendemail.pl
Required:
-f <from> from email address
-t <to> ... ... to email address(es)
Common:
-u <subject>
-m <message> if -m is absent the message is read from STDIN
-s <server[:port]> default is localhost:25
Optional:
-a <file> ... ... file attachment(s)
-cc <to> ... ... cc email address(es)
-bcc <to> ... ... bcc email address(es)
Paranormal:
-l <logfile> (partially broken) logging is disabled by default
-q,-v,-vv -q = quiet, -v = verbose, -vv = very verbose
This perl sripts sends emails fine from any shell. Any help will be accepted. Thanx to all