Perl script send email windows
Try the example in the synopsis that I just linked. Show 19 more comments. Active Oldest Votes. After I got it to work, I wrote a simple subroutine to send plain text emails:! Added Bonus! This script will also work on Linux ;. Improve this answer. Add a comment. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. And there's the cygwin implementation available for more versions of Windows as mentioned on the perl web site.
And there is this slightly outdated article also mentioning the options you have on Windows. It seemed to have been published before the release of Perl 5. But it should also work with Perl 5. As you have seen there, the warning onto CPAN only applies if you have chosen an older version of Perl prior to 5. If your Perl implementation didn't come with all modules, you know you could complement your implementation by those modules needed and found on CPAN.
And it would help also, if you would quote the error message your script produces as well as naming the operating context of which you started it running as well as its version. The output of perl -V should provide such an info in most cases. I couldn't find yet such infos disclosed in your script nor your original post.
And Perl had been created by system administrators for system administrators. With Microsofts move of WSL 1. Get answers from your peers along with millions of IT pros who visit Spiceworks. Popular Topics in IT Programming. Which of the following retains the information it's storing when the system power is turned off?
There are many authentication mechanisms! SHARE 3. I'm open to suggestions. SHARE 4. SHARE 5. That's what we thought, but after working on it that way for a day we just still couldn't get it to work. Suddenly, it worked. Does that even make sense??? SHARE 6. This code only seems to work. In case you have a negative response from the server, eg. SHARE 7. Hello pardeep Good article, There are a number of ways to tell Perl scripts where to send email.
0コメント