While grabbing an address out of some SPAM might work, there are two major issues to think about here.

1. What if the server is being used for the SPAM without permission? This is often the case, and, in some cases, use in this way can be illegal. Which would make anyone using the server in an unauthorized manner liable. i.e. punkkid could be liable as well.

2. Since there is no way to know why or where or who this server belongs to and for what purpose it is open, it would not make a very reliable production solution. It could be closed without warning at any time. Also, there could be strange configurations you would have no way of knowing about. It may silently send all your messages to /dev/null and never report an error. You'd only know when it didn't work and then you would not know why.

Unfortunately, there is not much on the constructive side I can say aside from contact your ISP. Most ISPs, even the major ones, offer some form of SMTP services. Albeit they can be very limited, if all you want to do is send some mail you should be fine.

You may also want to look at some previous nodes on similar topics like: An SMTP server in Perl and Another MIME::Lite/Net::SMTP Question which both have some info you may find valuable.

<myExperience> $mostLanguages = 'Designed for engineers by engineers.'; $perl = 'Designed for people who speak by a linguist.'; </myExperience>

In reply to Re: Re: An SMTP Server by jptxs
in thread An SMTP Server by elusion

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.