Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Ummm, actually sendmail as such has very little to do with it. Since SMTP is a socket-based mail delivery protocol, he needs a socket service, either locally or remotely, that Net::SMTP can connect to, to provide SMTP service.

To this end, MS Exchange, or several freeware clients can provide this service. Having sendmail is only relevant to programs that are trying to exec sendmail to send mail (and that's really an obsolete way to do it, these days).

Someone mentioned Blat in a previous post. Blat does not provide SMTP service as socket provider, but will connect to a SMTP server and send the mail provided on the command line or parameters file. Several years ago I had written a Windows App that needed Blat to send mail, since there were no SMTP class libraries available. And you really don't want to write your own, since a number of the SMTP servers out there are somewhat quirky.

--Chris

e-mail jcwren

In reply to (jcwren) RE: Re: Sending mail on NT by jcwren
in thread Sending mail on NT by zdog

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [Corion]: Yeah, I also went a more roundabout way, just to find that the solution had been with Perl all along! ;)
    [tye]: perhaps the "less secure" comment was motivated by old versions of getlogin() and trolled through the 'last' log trying to match your TTY. On modern Unix, I believe getlogin() just returns a fundamental bit of identity from your process.
    [tye]: (Because every thing you do has that tag available for auditd.)
    [tye]: Though it is certainly true that you should not use getlogin() for auth().
    [LanX]: tye: just a tip for the next time, I found interesting things there...
    [LanX]: like shmem commands : shmctl, shmget, shmread, shmwrite...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (6)
    As of 2017-06-23 18:58 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      How many monitors do you use while coding?















      Results (554 votes). Check out past polls.