Look into using the Mime::Lite or Mail::Sendmail modules which make it easy. Also, if you search the forum you will find posts with the code to an send email. We will help you if you get stuck.
thanks for your replying, i checked the link which you gave me. i think i just confused my question, my question is : for example, once you did wrong password in unix, the email would be sent to you. i think the email destination is unix's file, like using 'mail' to check the email in unix.
thanks for your replying, i checked the link which you gave me. i think i just confused my question, my question is : for example, once you did wrong password in unix, the email would be sent to you. i think the email destination is unix's file, like using 'mail' to check the email in unix.
yes, i just begin to learn perl, so any help for me to write the script. thanks very much.
I think that the point that was being made to you is that you need to show us some code. We can provide guidance on modules, but you are going to have to write the code yourself. We will then help you if you get stuck.
Comment