I've never used the Mail::Mailer, however, in most situations, you can add the path to any executable to the normal system environment veriable %PATH%, and, in this case, Windows will be able to find the executable with the normal system call. Thus changing the Windows veriables to have "c:\usr\lib\" to the %PATH% variable, and placing sendmail.exe in this directory, would, normally, allow Windows to find the executable when issueing
sendmail to the system (as most mail sending scripts do).
To see your current path on Windows, open a command window, and enter
echo %PATH%. Any program located in any director listed there, will automatically be executed, if matched (it doesn't matter to Windows if the call is for sendmail and the first found is sendmail.cmd or sendmail.bat or sendmail.exe, it will execute the first found match to sendmail).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.