"and it doesn't work" isn't a lot for us to go on, did you read How do I post a question effectively??
This question comes up often, see Sending Mail trough Perl using ActivePerl on windows or use super search for further examples.
Martin
In reply to Re^3: email on WIN32
by marto
in thread email on WIN32
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |