"I suspect I'm the kind of irritating poster you all cringe at when you see the post (...) I dont know perl, however I use a complicated script and I tweak it as much as I can with what little I know."

There's nothing wrong with this. I started out doing just that; editing existing scripts. You'll notice that you're gonna understand the code at a certain point if you look at it enough (and mess with it). Then you'll go and add certain pieces of code yourself and before you know it, you write your own scripts!

It's always nice to have some books laying around though. The O'Reilly Perl books seem popular amongst the Perlmonks (and must say I like them myself).

"Well, I was informed on a perl newsgroup that the sendmail is "so 90s" and It isnt secure. And I should use Mail::sendmail in its stead."

I wonder why that was said. If you posted it in some sysadmin group, I could imagine the response. Sendmail is a MTA that can do too much for the average user and if you don't know why Sendmail is better than say Postfix, Exim, etc., chances are you don't need Sendmail (and probably shouldn't). Sendmail is/was known for many security flaws in the past (although it has been pretty quiet lately (or did I miss something? ;)). But that has nothing to do with your scripts, for I take it you aren't the sysadmin. I'm not aware of any security risks in Mail::Mailer::sendmail, but of course, you can turn any script into an insecure piece of work; wheter you use Perl modules or not.

For emailing there are too many modules and I've seen praise for most of them on Perlmonks somewhere. The "Mail Module preference" can become the new holy flame war topic, like "vi vs. emacs" ;-)

So, if the code ain't broken, don't fix it, or let some of the guys who claim it's insecure explain to you why this exactly is the case, so you might fix it.

Just my €0,02

--
b10m

All code is usually tested, but rarely trusted.

In reply to Re: Mail::Mailer::sendmail woes by b10m
in thread Mail::Mailer::sendmail woes by Abby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.